PaymonetraDocs

Bill results

How you learn what happened to a purchase: read it back, or take the webhook.

#Reading back

GEThttps://api.paymonetra.com/v1/bills/{reference}Secret key
GEThttps://api.paymonetra.com/v1/billsSecret key
  • GET /bills/{reference} takes your reference or our id.
  • GET /bills?service=airtime&status=failed&limit=50&offset=0 lists API purchases only, newest first. Purchases made in your Business app are not listed.

#Webhooks

Your webhook URL receives:

  • bill.successful: delivered. This also follows a processing purchase once it is confirmed.
  • bill.failed: not delivered, money back. This follows a refused purchase, a processing one that turned out failed, or a successful one later reversed.

data is the bill object. These are signed and retried like every other event (see Webhooks). Each bill sends each event at most once.