Create a new payment
Bearer authentication using access token
Payment amount (positive number, supports up to 2 decimal places)
17.62
3-letter currency code (e.g., usd, sgd, jpy)
"usd"
Capture method (uses flow configuration if omitted)
automatic, manual 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
If true, save card for future recurring payments
true
Use a saved payment method for recurring payment (get from /v1/customers/{id}/payment-methods)
"pmi_abc123"
Cardholder name (required for some payment methods)
"John Doe"
Customer ID (used for saving and retrieving payment methods)
"cust_abc123"
Customer email address
"customer@example.com"
Customer phone number
"+81-90-1234-5678"
Payment created successfully
Payment request ID
"req_abc123"
Status
"pending"
Payment amount
17.62
Currency code
"usd"
Merchant's order ID
"order_12345"
Additional data (empty object if not specified)
{}Payment flow ID used
"flow_default"
Payment type. single: Regular one-time payment, initial: Initial payment with card saving, recurring: Recurring payment using saved card
single, initial, recurring "single"
Hosted checkout page URL (with signature)
"https://pay.sandbox.zafapay.com/checkout/req_abc123?token=xxxxxxxx"
Creation timestamp (ISO 8601 format)
"2025-01-01T00:00:00.000Z"