Create a new payment
Bearer authentication using access token
Payment amount (positive integer)
1000
3-letter currency code (e.g., usd, sgd, jpy)
"usd"
Capture method
automatic, manual Redirect URL after 3D Secure authentication (only available when using payment_method.token; not required for hosted checkout)
"https://example.com/complete"
Merchant's order ID
"order_12345"
Flow ID to use (defaults to default flow if omitted)
"flow_abc123"
Payment method (string or object format)
"card"
Additional data to store with the transaction
Payment created successfully
Processing success flag
true
Status
"pending"
Transaction ID
"tx_abc123"
PSP transaction ID
"pi_xxxxx"
Secret for frontend payment confirmation (for card payments)
"pi_xxx_secret_yyy"
Payment page URL (for redirect-type payments)
"https://pay.sandbox.zafapay.com/checkout/tx_abc123?sig=xxxxxxxxxxxxxxxx"