Skip to main content
POST
Generate checkout link (Stripe)

Authorizations

x-api-key
string
header
required

Your ps_ API key

Body

application/json
purpose
string
required

What the checkout page is for.

Example:

"wallet_topup"

amount
string

Amount to credit to the wallet, in the account currency (required for wallet_topup).

Example:

"50"

successUrl
string

Redirect URL after success.

Example:

"https://app.acme.com/billing/ok"

cancelUrl
string

Redirect URL if cancelled.

Example:

"https://app.acme.com/billing"

Response

Top up wallet