PaymonetraDocs

Refunds

Money back to the account that paid. There is no field to send it anywhere else.

A refund always goes back to the account the payment came from. There is no field to send it anywhere else. The payer receives the full amount, and the refund fee (NGN 50) comes out of the business's balance on top.

#Sending one

POSThttps://api.paymonetra.com/v1/refundsSecret key
JSON
{
  "payment_reference": "20261027100204123456789012",
  "amount": 3000,
  "reference": "rf-1029",
  "reason": "Out of stock"
}
  • payment_reference (required): the reference from collection.success.
  • amount (optional): leave it out to refund what is left of the payment.
  • reference (optional, recommended): your own id, up to 100 letters, digits, dots, dashes or underscores. Sending it again returns the first refund with 200 instead of making a second one. A failed refund keeps its reference, so try again under a new one.
  • reason (optional): kept for you; the payer never sees it.

201 with the refund, or 200 when reference already made it:

JSON
{
  "reference": "rf-1029",
  "refund_reference": "PMR-9F21AA55C3D1",
  "payment_reference": "20261027100204123456789012",
  "status": "success",
  "amount": 3000,
  "fee": 50,
  "total": 3050,
  "currency": "NGN",
  "recipient": {
    "account_name": "TUNDE BELLO",
    "account_number": "8039990000",
    "bank_code": "100004"
  },
  "reason": "Out of stock",
  "failure_reason": null,
  "dispute_reference": null,
  "created_at": "2026-10-28T14:10:02+01:00",
  "completed_at": "2026-10-28T14:10:04+01:00"
}

A payment with an open dispute is refunded through its dispute: the money the dispute holds pays for it, the dispute closes as refunded, and dispute_reference is set. It can only be refunded in full, so leave amount out (422 with field: "amount" otherwise).

#Reading them back

GEThttps://api.paymonetra.com/v1/refunds/{reference}Secret key
GEThttps://api.paymonetra.com/v1/refundsSecret key

The list is newest first, ?limit=50&offset=0. One refund is found by your reference or by our refund_reference.

#Disputes on this API

GEThttps://api.paymonetra.com/v1/disputesSecret key
GEThttps://api.paymonetra.com/v1/disputes/{reference}Secret key

The same rows and detail as the dispute list on Disputes, with ?status=open|resolved|..., ?limit, ?offset. The list also carries counts, held, total and auto_refund.

POSThttps://api.paymonetra.com/v1/disputes/{reference}/refundSecret key

Refunds the disputed amount to the payer from the money the dispute holds. Body: { "reference": "your-id" }, optional. 201 with the refund (shape above). Asking again for a dispute already refunded answers 200 with that refund. A closed dispute is 422 dispute_closed.

#Errors

typehttpmeaning
invalid_request422a field is missing or wrong; field says which
not_found404no such payment, refund or dispute on this key
over_refund / already_refunded422more than is left to refund on the payment
insufficient_ready422not enough in the balance for the refund and its fee
below_minimum422under NGN 100
payer_unknown422we do not know which account paid (for example a converted USDT payment); refund it from the dashboard
daily_limit422live only: past today's API refund limit
refunds_not_enabled / ip_not_allowed403live only: see above
dispute_closed422the dispute is no longer open

#The two events

refund.sent and refund.failed.

Signed like every other event, with the refund above as data, once each per refund. Refunds made on the dashboard and in the app send them too.

Verify the signature exactly as on Webhooks.