Send a partial refund request to return a portion of the settled amount to your customer. Send the amount to refund and the authorization currency in the body.
Security
BasicAuth
A reference generated by you to identify a payment throughout its lifecycle.
Example:"partial-refund-reference"
- Test (Try)https://try.access.worldpay.com/payments/settlements/refunds/partials/{linkData}
- Livehttps://access.worldpay.com/payments/settlements/refunds/partials/{linkData}
Request to perform a partial refund of the settlement
{ "value": { "amount": 10, "currency": "EUR" }, "reference": "partial-refund-reference" }
The partial refund has been accepted
Unique identifier generated by us for a single payment. Generated at authorization, and maintained through successive payment actions.
Example:"payI-dUcet9fk4_X4qZU0hpU0"
Unique identifier generated by us for a single instance of an interaction (command) with the Worldpay API.
Example:"cmdRvD-OxCyXgJLQ9_jbqXAC0"
Response
Response to partially refund an authorization
{ "paymentId": "payI-dUcet9fk4_X4qZU0hpU0", "commandId": "cmdwZ5y_rSV1VmjD6CpgCuXG0", "_links": { "cardPayments:events": { "href": "/payments/events/:linkData" }, "curies": [ { "name": "payments", "href": "/rels/payments/{rel}", "templated": true } ] } }