Quickstart

  1. Add a business. In the dashboard open Businesses → Add a business and enter your website's domain, e.g. shop.example.com.
  2. 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.
  3. Get your keys. Open Developers. Copy the test public key, and create a test secret key; it's shown once.
  4. 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"
  }'
  1. Open the checkout_url from the answer and pay with test card 4242 4242 4242 4242, any future expiry, any CVV.
  2. Check it from your server: GET /v1/payments/order-1001 answers "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.