Create a new payment
Payments
Create a new payment
Creates a new payment with the provided payment details.
POST
Create a new payment
Authorizations
Headers
Body
application/json
Amount to be paid
Example:
Merchant/PSP order ID
Example:
Optional custom expiration timestamp (Unix seconds since epoch). Must be in the future if provided. If not provided, defaults to 15 minutes from now.
Response
Payment created successfully
Payment expiration timestamp, in seconds since epoch
Required range:
x >= 0Gateway URL to redirect the user to for payment
True if the payment is in a final state and no longer requires polling
Payment ID
Example:
"pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV"
Payment status
Available options:
requires_action, processing, succeeded, failed, expired, cancelled Time to poll for payment status, in milliseconds. Not present if the payment is in a final state.
Required range:
x >= 0