APIs/Payments//
- Submit a payment partial cancel request
Payment query request
Submit a payment settle request
Submit a payment partial settle request
Submit a payment refund request
Submit a payment partial refund request
Submit a payment cancel request
Submit a payment incremental authorization request
Submit a payment reverse request
Submit a payment partial...
Send a partial cancel request if you don't want to proceed with a payment.
Note: You can only cancel a payment which is authorized. If the payment is settled, you must create a refund.
Important
You can only do a partial cancellation once for a payment.
If you send a second partial cancellation request, we will not reject it. Instead, we will fully cancel the remaining authorized amount, regardless of the value.amount you pass in that second request.
Security
BasicAuth
- Test (Try)https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/{linkData}/partialCancellations
- Livehttps://access.worldpay-bsh.securedataplatform.co.uk/api/payments/{linkData}/partialCancellations
{ "value": { "amount": 500, "currency": "GBP" }, "reference": "partial-cancel-reference" }
Response
{ "outcome": "sentForCancellation", "_links": { "self": { "href": "https://try.access.worldpay-bsh.securedataplatform.co.uk/api/payments/eyJrIjoxLCJkIjoiN3VTNVpzK1h4UVFNL1R4aGZjSVV5TFFhMWZlNXRLOVM3M0k1MVdwN21PMXIySnNadTJ5YUhzZE45dDN5TDRnYk8rQk9PTzJzVWUxTkZUeXFBWjJZMUE9PSJ9" } } }