Refund a transaction

Allows you to refund a credit or debit card transaction using the Nexio Payment ID. To do so:

  1. Run a transaction using the Run card transaction endpoint.
  2. Retrieve the id from the response. This is the Nexio Payment ID.
  3. Include that id in the body of your request to this endpoint.


Try It

To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.

You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right.
username: [email protected]
password: JZdzoXpdDeH6VA

Include the ID as indicated above. Alternately, you can run the View transactions endpoint and get the plugin.originalId from the response.

Request parameters

  • id
  • data
  • data.amount
  • refundReason

Response parameters

  • amount
  • authCode
  • currency
  • data
  • data.amount
  • data.currency
  • data.settlementCurrency
  • gatewayResponse
  • gatewayResponse.gatewayName
  • gatewayResponse.refNumber
  • id
  • merchantId
  • message
  • transactionDate
  • transactionStatus
  • transactionType
Click Try It! to start a request and see the response here!