Before you start
1
Get your keys
You need three values, all issued during onboarding: a public key, a secret key, and
an RSA public encryption key. See Authentication.
2
Set up encryption
Order payloads are RSA-encrypted. While you build, sandbox’s
encryption helper can do it for you.
1. Encrypt the order payload
data is your ciphertext.
2. Create the order
otherPaymentOptions is what you render as the customer’s choices — it varies by currency.
3. Pay the order
Encrypt the method-specific payload, then send it. For a card:paymentDetail.redirectUrl to complete 3-D Secure.
4. Poll for the final status
isFinalStatus is false. See
Order lifecycle for the polling schedule and every status value.
5. Confirm server-side before fulfilling
Status polling uses your public key, which your frontend may hold. Before you release goods, confirm with your secret key from your backend:Next steps
Payment methods
Card, bank transfer and USSD payloads side by side.
Sandbox testing
Test cards, test bank codes, and what differs from production.