Payment Flow

Sequence

Merchant site            QOOP-Pay (PayExpress)              Member
     |  POST /checkout/initiate   |                              |
     |  amount, site_redirect_url |                              |
     |  txn_ref, hash, cust_name  |                              |
     |  partner_id, live_api_key  |                              |
     |  order_id                  |                              |
     |--------------------------->|  303 -> /checkout/{txn_ref}  |
     |                            |  order summary page          |
     |                            |<------- magic link? -------->|
     |                            |  cooperative wallet card     |
     |                            |<------- OTP confirm -------->|
     |                            |  wallet debit (ledger)       |
     |<-- 302 site_redirect_url --|                              |
     |    txnRef, PaymentReference, Amount, err,                 |
     |    ResponseCode (00|10|11), ResponseDescription           |
     |                            |--- transaction.success ----->| (webhook)
     |  GET /api/v1/gettransaction|                              |
     |--------------------------->|  { ResponseCode, Amount }    |
     |  fulfill order if 00       |                              |

What QOOP-Pay does on success

  • Creates the transaction (status=successful, escrow_state=ESCROW_HOLD).
  • Debits the member wallet through the transactional ledger RPC (double-entry, balance_after chain). The member's debit is order + QPay fee — a member-side charge that never touches your settlement.
  • When the order settles, your settlement balance receives amount − commission. Your commission rate (set per merchant by QOOP-Pay operations, visible in MerchantHub settings) applies per order.
  • Queues a signed transaction.success webhook to your URL.

Before you go live

  • Register your bank account + webhook URL in MerchantHub settings; request your live API key (shown once).
  • Verify every payment server-to-server with gettransaction — never rely on the redirect alone.
  • Orders settle after delivery confirmation; request payouts from MerchantHub → Payouts.

See Posting a Transaction for the exact form fields and hash algorithm.