Developers
Build payments into your product.
Create your business account and build with Checkout and the API. Test in separate sandboxes while verification is in progress.
curl https://api.flutterwave.com/v3/payments \
--request POST \
--header "Authorization: Bearer $FLW_TEST_SECRET_KEY" \
--header 'Content-Type: application/json' \
--data '{
"tx_ref": "studio-order-1042",
"amount": 7500,
"currency": "KES",
"redirect_url": "https://example.com/payment-return",
"customer": { "email": "buyer@example.com" }
}'- Create checkoutYour server sends the request. Hosted payment link returned in data.link.
- Customer paysSend the customer to that link to pay on the hosted page.
- Verify the resultA redirect back isn’t proof of payment. Verify the transaction on your server.
Use a test secret key and a unique tx_ref for each request. v3 uses secret keys; v4 uses access tokens. Each has its own documentation.
Find the issue. Take the next step.
Review the request or delivery response, then act on the cause.
Business activity · Bloom Studios
{"status": "error","message": "customer.email is required","data": null}Retrying the delivery sends the event again. It does not send the payment again.
Your business account. Your test sandboxes.
Verification and integration can progress together. Your business account and sandboxes keep separate credentials, settings and money.
Your business account.
Set up your business and complete verification. The capabilities you can use depend on your market and the checks required.
Your test sandboxes.
Create sandboxes as you need them. Each has its own keys, webhooks, Checkout settings and test money. Test during verification and alongside your business operations.
Test money stays in its sandbox. It never settles to a real bank account.