Prerequisites
- An Ebioro merchant account with API keys
- Your
api_public_keyandapi_secret_keyfrom the dashboard
1. Authenticate
All API requests use Digest Authentication with three headers:| Header | Description |
|---|---|
X-Digest-Key | Your public API key |
X-Digest-Timestamp | Current Unix timestamp |
X-Digest-Signature | HMAC-SHA256 signature |
The timestamp must be within 5 minutes of the server time, or the request will be rejected.
2. Create a payment
checkout_id— unique payment identifierhostedUrl— redirect the customer here for the payment widgetqrCode— SEP-7 URI for wallet-based paymentssettlement_amount— amount in USDC smallest unit (cents)
3. Customer pays
Either redirect the customer tohostedUrl, or use the API directly:
- Stellar direct: Customer sends USDC to the payment address with the checkout memo
- Cross-chain: Use the cross-chain endpoints to get a deposit address on the customer’s preferred chain
4. Receive the webhook
When the payment settles, you’ll receive a POST to yourwebhookUrl:
X-WEBHOOK-AUTH header:
Next steps
Authentication
Full authentication guide with code examples
Cross-Chain Payments
Accept payments from Solana, Ethereum, Base, and more