Quickstart
- Add a business. In the dashboard open Businesses → Add a business and enter your website's domain, e.g.
shop.example.com. - Confirm the domain. We email a 6-digit code to an address at that domain (
[email protected], or any address you choose there). Enter it. Test payments work from this moment. - Get your keys. Open Developers. Copy the test public key, and create a test secret key; it's shown once.
- Take a test payment from your server:
curl https://api.qwikipay.com/v1/payments \
-H "Authorization: Bearer $QWIKIPAY_SECRET" \
-H "QwikiPay-Business: qp_biz_test_..." \
-H "Idempotency-Key: order-1001" \
-H "Content-Type: application/json" \
-d '{
"reference": "order-1001",
"amount": "50000",
"currency": "UGX",
"customer": { "email": "[email protected]", "name": "Amina Nakato" },
"redirect_url": "https://shop.example.com/orders/1001"
}'
- Open the
checkout_urlfrom the answer and pay with test card4242 4242 4242 4242, any future expiry, any CVV. - Check it from your server:
GET /v1/payments/order-1001answers"status": "successful".
When you're ready for real money: finish verifying your account, then on the business's page choose Ask for approval. Once approved, the same business ID works with your live keys.