Create refund transaction

Process a refund for a previously captured transaction. This returns money to the customer's original payment method.
mPay supports partial refunds.

About Refunds

Refund operations are used to:

  • Return money to customers for captured transactions
  • Handle returns, exchanges, and customer complaints
  • Process partial refunds for partial returns
  • Correct billing errors and overcharges

Partial Refunds: If the total transaction amount was 100 AUD and the 'refund' is initiated with the amount of 70 AUD that automatically constitutes as a partial refund of 70 AUD of the original transaction.

Refunds for Multi-Currency Transactions: Refunds for multi-currency transactions are NOT currently supported. Any transaction processed in a different currency must be refunded directly by the merchant.

Note: The request must hold a valid session token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The purchase reference of the transaction to refund

Body Params
token
object
required

Token information for authentication and transaction identification

customer
object
required

Customer information and request context

refund
object
required

Refund transaction details

Responses

Language
Credentials
Bearer
UUID
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json