mMoney Docs

Invoices

Refund an invoice

POST /v2/api/invoice/refund

Refund a paid invoice, in full or in part.

Key permission: Send Refunds

Parameters

Name Type Description
amount required integer The refund amount in cents.
invoice_id integer The invoice ID. Give this or merchant_order_id.
merchant_order_id string Your order ID. Give this or invoice_id.
The invoice must be paid before you can refund it.
curl -X POST "https://api.mmoneybb.com/merchant/v2/api/invoice/refund" \
  -H "x-api-key: mm_api_key_XXXX" \
  -H "Content-Type: application/json" \
  -d '{"amount":1000,"merchant_order_id":"order_123"}'
Response
{
  "merchant_order_id": "order_123",
  "amount": 1000,
  "invoice_id": 3244,
  "created_at": "2026-01-01T00:00:00Z",
  "currency": "BBD"
}
Log in to test this endpoint against your live account.