Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
Create Payment Intent Request
Amount in smallest currency unit (e.g., cents)
10000
Three-letter currency code
"USD"
Unique customer identifier
"cus_Tfd3Jq1tZxPjYVhRQW2r3"
Payment method for redirect (APPLE_PAY, KLARNA, etc.)
"APPLE_PAY"
Client's receipt identifier
"receipt_abc123"
Webhook URL for payment status updates
"https://yourserver.com/webhook"
Channel identifier (e.g., "web", "ios", "android")
"web"
Payment description
""
Additional key-value pairs (max 50 pairs)
This boolean tokenises and stores the payment method (e.g., Apple Pay) for future use. If sending this value, corresponding customer_id is also required
true
Response
Payment intent created successfully
"pay_8Ks3Jq1tZxPjYVhRQW2r5"
Forward URL for redirecting user
""
CREATED "CREATED"
10000
"USD"
"cus_Tfd3Jq1tZxPjYVhRQW2r3"
"receipt_abc123"
"APPLE_PAY"
Epoch timestamp in milliseconds of when payment intent was created
1728128100000