Endpoints
Create a Payment
POST
Body
number
required
Amount in smallest currency unit.
string
required
Source currency (ISO 4217).
string
required
Asset merchant receives.
string
required
Settlement destination. Only supports
stellar.array
required
Allowed payment methods. For example:
["card", "bank_transfer", "crypto"].object
required
Customer details including
email and name.object
Optional key-value pairs for internal use (e.g.
order_id).string
URL to redirect the user after payment.
Response
string
Payment ID (e.g.
pay_abc123).string
Status of the payment (e.g.
pending).string
Hosted checkout URL.
number
Amount in smallest currency unit.
string
Source currency.
string
ISO-8601 timestamp for quote expiry.