v1
latestOpenAPI 3.0.1MIT2026-07-26336777.7 KBCharge a payment using a tokenized payment method
post/payments/charge-tokenised-pm
Headers
Idempotency-Keystring
A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.
Request body
Example request
{
"pmId": "pmt_ftoeKIYGC3f43frT",
"customerId": "cus_Tfd3Jq1tZxPjYVhRQW2r3",
"currency": "USD",
"amount": 1000,
"receiptId": "order123",
"storeFrontId": "sf_sadfsdfsdf213dsaf",
"metadata": {
"orderId": "12345",
"customerNote": "Charge for recurring payments"
}
}Response
Payment charged successfully
Example response
{
"intentId": "in_dHd3Jq1tZxPjYVhRQW2r3",
"status": "SUCCESS",
"errorCode": "card_declined"
}