Authorize payment or setup intent

Authorize a payment intent or setup intent (e.g. Stripe payment intent or Stripe setup intent). Returns clientSecret and optional paymentIntent or setupIntent.

Required scopes: flex.billing.paymentGateways.authorize

Path Params
string
required

organization slug

Body Params

Authorize request body.

locations
array of strings
required

Location IDs for which the payment/authorization is being made.

locations*
string
enum
required

The payment provider type. Currently only Stripe is supported.

Allowed:
string
enum
required

The payment configuration (recurring-payments or one-time-payments).

Allowed:
payment
object

Payment details (currency, amount, savePaymentDetails) when authorizing a payment intent.

Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json