payment-method
Set up Stripe checkout
Changed oncreate the customer and retrieve the secret from Stripe to add the payment method
post/payment_method/setup-stripe-checkout-data
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/payment_method/setup-stripe-checkout-data
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: payment_method:edit
Request body
Example request
{
"offer_id": "abc123",
"stripe_checkout_session_return_url": "abc123",
"use_stripe_checkout_session": false
}Response
OK response.
Example response
{
"client_secret": "abc123",
"session_id": "abc123"
}Changes
- info
api operation id
payment-method.setupStripeCheckoutDataremoved and replaced withpayment-method#setupStripeCheckoutData
- info
- info
api operation id
payment-method#setupStripeCheckoutDataremoved and replaced withpayment-method.setupStripeCheckoutData
- info