Refund an APM transaction
Refunds a transaction using an Alternative Payment Method.
If you do not know the paymentId or amount to use, make a call with the View transactions endpoint with the query filter of transactionStatus=10 and plugin= to get an array of possible transactions that have authorized or transactionStatus=20 and plugin= for transactions that are settled.
For more help with this endpoint, see the Refund a transaction tutorial in Guides.
<!-- theme: warning --><div style="display:none;">⚠️ Try It
To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.<br/><br/>You can also use the following test account (that is connected with PayPal). Copy the value and paste it into the appropriate space in the Try It section to the right. username: docs@nexiopay.com password: JZdzoXpdDeH6VA<br/><br/>Include the ID of the payment request and the amount of the transaction in your request.
Request parameters
- id
- data
- data.amount
Response parameters
- id
- merchantId
- transactionDate
- amount
- transactionType
- currency
- gatewayResponse
- gatewayResponse.gatewayName
- gatewayResponse.refNumber
- data
- data.amount
- data.currency
- data.settlementCurrency
- message
Request body
Response
Success
Changes
No recorded changes to this endpoint across all 1 revision of this API.