Generate checkout link (Stripe)
Creates a hosted Stripe checkout page and returns the url for the user to open in a browser — nothing is charged until they complete it there. purpose:“wallet_topup” (requires amount > 0, in the account currency) mints a one-time payment that credits the pre-paid wallet; purpose:“add_card” mints a page to save a card on file. Account-level action: requires a TENANT-scoped key (403 NUMBER_SCOPE_NOT_ALLOWED for a number key). Stripe only.
Requires a tenant-scoped key.
Authorizations
Your ps_ API key
Body
What the checkout page is for.
"wallet_topup"
Amount to credit to the wallet, in the account currency (required for wallet_topup).
"50"
Redirect URL after success.
"https://app.acme.com/billing/ok"
Redirect URL if cancelled.
"https://app.acme.com/billing"
Response
Top up wallet