POST request to /payments with the amount, currency, and your own reference.Idempotency-Key header so a retried request never creates a duplicate payment.processing:{
"data": {
"id": "txn_1Cczau8Uw6swxDdMSxFv1u",
"type": "payment",
"requested": {
"amount": "1000.00",
"currency": "XTS"
},
"initialized": {
"amount": "1000.00",
"currency": "XTS"
},
"processed": {
"amount": "0.00",
"currency": "XTS"
},
"refunded": {
"amount": "0.00",
"currency": "XTS"
},
"requisite": {
"type": "card",
"card": "4242 4242 4242 4242",
"holder": "Test User",
"bank": "Test Bank"
},
"status": "processing",
"expires_at": "2026-07-07T13:34:56Z",
"created_at": "2026-07-07T12:34:56Z",
"finalized_at": null
}
}id — you'll use it to track the payment.id to see its current status:paid, it's settled:{
"data": {
"id": "txn_1Cczau8Uw6swxDdMSxFv1u",
"type": "payment",
"requested": {
"amount": "1000.00",
"currency": "XTS"
},
"initialized": {
"amount": "1000.00",
"currency": "XTS"
},
"processed": {
"amount": "1000.00",
"currency": "XTS"
},
"refunded": {
"amount": "0.00",
"currency": "XTS"
},
"requisite": {
"type": "card",
"card": "4242 4242 4242 4242",
"holder": "Test User",
"bank": "Test Bank"
},
"status": "paid",
"expires_at": "2026-07-07T13:34:56Z",
"created_at": "2026-07-07T12:34:56Z",
"finalized_at": "2026-07-07T12:47:03Z"
}
}