v1

latestOpenAPI 3.1.02026-07-24620123.6 KB

Refund Deposit

This API endpoint allows you to initiate a refund for a previously successful mobile money deposit transaction.

post/api/b2b/fiat/deposit/{transactionId}/refund

Request body

refundReasonstring required

An explanation of why the refund is being initiated.

externalReferencestring required

A unique ID of your liking to reconcile transactions internally.

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Transaction refund initiated successfully.",
  "data": {
    "refundTransactionId": "unique-refund-transaction-id",
    "originalTransactionId": "unique-original-transaction-id"
  }
}