Create a payment
Payments
Create a payment
Creates a pending payment and returns a hosted checkout URL. The settlement wallet and Stellar network are resolved from your organization settings.
POST
Create a payment
Authorizations
API key from the Payoes dashboard (pk_test_... or pk_live_...)
Body
application/json
Stellar amount with up to 7 decimal places
Pattern:
^\d+(\.\d{1,7})?$Example:
"10.5"
Optional. Defaults to the organization settlement asset.
Optional. Defaults to all enabled organization assets.
Minimum array length:
1Maximum string length:
500Minutes until the payment expires (default 60)
Required range:
5 <= x <= 10080Customer public ID to link before checkout
Response
Payment created
Example:
"pay_nLU2gUDk-v3tdyd6"
Available options:
payment_intent Example:
"2.0000000"
Available options:
pending, completed, failed, expired Asset the customer actually paid with (set after checkout)
Available options:
direct, checkout_session, payment_link, invoice