We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d77f78 commit c8047f4Copy full SHA for c8047f4
apps/web/lib/stripe/create-stripe-outbound-payment.ts
@@ -1,4 +1,4 @@
1
-import { stripeV2Fetch } from "./stripe-v2-client";
+import { STRIPE_API_VERSION, stripeV2Fetch } from "./stripe-v2-client";
2
3
export interface CreateStripeOutboundPaymentParams {
4
stripeRecipientId: string;
@@ -27,6 +27,8 @@ export async function createStripeOutboundPayment({
27
"/v2/money_management/outbound_payments",
28
{
29
headers: {
30
+ Authorization: `Bearer ${process.env.STRIPE_SECRET_KEY}`,
31
+ "Stripe-Version": STRIPE_API_VERSION,
32
"Idempotency-Key": idempotencyKey,
33
},
34
body: {
0 commit comments