Payment Instructions
Payment instructions guide customers through the cryptocurrency payment process. The payment gateway generates specific instructions for each payment including wallet addresses and amounts.
Getting Payment Instructions
Authenticated Request
GET /api/payment/{paymentId}/provider/{provider}/method/{method}
Authorization: Bearer YOUR_TOKEN
Authentication: OAuth2 token or Client Token with payments.user-instructions.get scope.
Public Checkout Request
From the checkout page (signature-validated):
GET /api/checkout/payment/{paymentId}/provider/{provider}/method/{method}
This public endpoint validates the checkout URL signature and expiration before returning instructions.
Available Payment Methods
To see which payment methods are available for a specific payment:
GET /api/checkout/{paymentId}/payment-methods
Returns the list of cryptocurrencies and payment methods configured for the merchant's payment application based on their currencyWhitelist.
Payment Flow
- Customer opens the checkout URL
- Customer selects a cryptocurrency
- System generates a unique payment address
- Customer sends the exact amount to the address
- System monitors the blockchain for the transaction
- Payment status updates as confirmations are received
Displaying Instructions
When building a custom checkout experience, display these key elements:
- Payment address — the blockchain address to send funds to
- Exact amount — the cryptocurrency amount to send
- QR code — for easy mobile wallet scanning
- Expiration timer — time remaining to complete payment
- Confirmation status — real-time blockchain confirmation count
Best Practices
- Show the exact amount clearly — customers must send the precise amount
- Provide copy functionality — easy one-click address copying
- Display expiration — show a countdown timer
- Clarify network fees — note that network fees are separate
- Mobile optimization — large QR codes, tap-to-copy