Create credit purchase intent
checkout
Create credit purchase intent
Creates a Stripe PaymentIntent for purchasing credits. Returns a client secret that should be passed to Stripe.js for payment confirmation.
POST
Create credit purchase intent
Documentation Index
Fetch the complete documentation index at: https://docs.platform.arb.inc/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
access token
Body
application/json
SKU code for the credit package to purchase (1-100 characters)
Example:
"CREDITS_50"
Number of packages to purchase (1-100, defaults to 1)
Example:
1
Optional custom tracking data (reserved keys are ignored)
Example:
{
"source": "web-app",
"campaign": "summer-2025"
}Response
200 - application/json
Payment intent created successfully
Client secret for Stripe.js payment confirmation
Example:
"pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YZ6X7YW8vU9tU8oZ1kL2mN3o"
Example:
"pi_3MtwBwLkdIwHu7ix28a3tqPa"
Charge amount in cents
Example:
2500
Example:
"usd"
Example:
"CREDITS_50"
Example:
50