v2

latestOpenAPI 3.0.32026-08-05174296703.4 KB
payment-method

setupStripeCheckoutData payment-method

create the customer and retrieve the secret from Stripe to add the payment method

post/payment_method/setup-stripe-checkout-data

Request body

offer_idstring required

Offer ID associated with the checkout session

stripe_checkout_session_return_urlstring

The return URL at end of Stripe Checkout Session

use_stripe_checkout_sessionboolean

Use Stripe Checkout Session instead of Stripe SetupIntent

Example request

{
  "offer_id": "abc123",
  "stripe_checkout_session_return_url": "abc123",
  "use_stripe_checkout_session": false
}

Response

OK response.

client_secretstring required
session_idstring

Example response

{
  "client_secret": "abc123",
  "session_id": "abc123"
}