Prerequisites
- A Payoes account with an organization and settlement wallet configured
- An API key from Developers → API Keys in the dashboard
- A Stellar testnet wallet with XLM or testnet USDC
1. Create an API key
In the dashboard, go to Developers → API Keys and create a sandbox key. Copy the full key. It is only shown once. Sandbox keys use thepk_test_ prefix.
2. Create a payment
3. Open checkout
Opencheckout_url in a browser. Connect a Stellar wallet and click Pay.
No login is required for customers. They only connect a wallet at checkout time.
4. Confirm payment status
After the wallet approves the transaction, Payoes verifies it on Horizon and marks the paymentcompleted.
Retrieve the payment:
status is completed, tx_hash contains the Stellar transaction hash.
5. Webhooks
Register a webhook endpoint in Developers → Webhooks to receivepayment.completed events automatically instead of polling.
See Webhooks for signature verification.
What’s next
Authentication
Learn how API keys and environments work.
API Reference
Explore the full Payments API.