- A deposit checkout is used to deposit money into a customer’s balance.
- A purchase checkout is used to purchase a product or service (e.g., Sweepstake coins).
- A withdrawal checkout is used to withdraw money from a customer’s balance.
Authorizations
Bearer token authentication using your API key
Body
- Deposit
- Fixed Deposit
- Sweeps Purchase
- Withdrawal
- Fixed Withdrawal
Standard sports-book styles deposit.
Unique identifier for the customer
"cus_vi57KegYgcRqcGHqip8q6UZiqtrwMT870"
Type of transaction - deposit
deposit
"deposit"
The experience type for the checkout flow
web
, webview
URL to redirect the customer after completion (if you are opening a new tab or window for your customer you do not need this)
"https://myapp.com/game/:id"
Response
Use the url field in the response. In web, you can redirect or open a new tab. In native, you can use a WebView.
The url of the checkout experience
Unique identifier for the checkout
Secret used for client-side checkout processing
Line items contained in the checkout (non-empty only for purchases)
Total amount in cents for all line items
Amount in cents withdrawn from or to be added to balance
Type of checkout transaction
deposit
, withdrawal
The experience type for the checkout flow
web
, webview