Preset payment method
Set up a payment method for a customer on the selected payment gateway and returns the gateway-hosted setup page URL.
The request body is polymorphic and is selected by paymentGatewayType.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
Preset payment method request for Stripe Connect
Gateway type discriminator. Fixed value stripe-connect
stripe-connect "stripe-connect"
Unique customer identifier used to query or create a gateway customer. When Billing is used, this is the accountNumber
"ACC-0000000001"
Redirect URL after setup is completed
"https://example.com/payment/success"
Stripe-only required field. Redirect URL when the user cancels setup on Stripe.
"https://example.com/payment/cancel"
Response
Success; returns the payment method setup page URL
Gateway-provided redirect URL to the setup page
