v1.1

Refund a transaction

post/api/v1.4/payments/transactions/{trx_uuid}/refund/

Request

  • Base URL
    https://web.moneyhash.io
  • URL
    https://web.moneyhash.io/api/v1.4/payments/transactions/{trx_uuid}/refund/
  • Auth
    • API key in header X-Api-Key
    • or API key in query parameter access_token

Path parameters

trx_uuidstring required

A unique identifier for the transaction.

Request body

amountstring decimal required

The amount to refund, if performing a partial refund, the amount should be less than the original transaction amount

refund_to_walletboolean

If set to true, the amount will be refunded to the customer's wallet

customerstring

The ID of a specific customer you wish to associate this refund with. Required if refund_to_wallet is true

custom_fieldsunknown

Changes

No recorded changes to this operation across all 2 revisions of this API.