Confirm a payment

Before you ship an order or unlock an account, ask QwikiPay from your server:

GET /v1/payments/order-1001          # hosted checkout and drop-in
GET /v1/charges?reference=order-1001 # direct charges
GET /v1/charges/qp_ch_8c1f...

Deliver only when all of these hold:

  • status is "successful"
  • amount and currency are what you charged
  • reference is your order

A pending payment is checked again with the bank when you ask, so polling is safe. A successful payment never changes back, except through a dispute.