Perform a PayPal refund request for a successful transaction.
Methods
POST
Perform a refund request.
Responses
Response schema
Copied!
{
"type": "object",
"properties": {
"_links": {
"type": "object",
"format": "hal+json"
}
},
"required": [
"_links"
]
}
{ "type": "object", "properties": { "_links": { "type": "object", "format": "hal+json" } }, "required": [ "_links" ] }
Examples
Link relationship
action:events
Retrieve refund resource details
PayPal refund with an outcome of the refund status query URI
POST
Copied!
{
"Authorization": "Basic Auth",
"Content-Type": "application/vnd.worldpay.paypal-v1+json",
"Accept": "application/vnd.worldpay.paypal-v1+json"
}
{ "Authorization": "Basic Auth", "Content-Type": "application/vnd.worldpay.paypal-v1+json", "Accept": "application/vnd.worldpay.paypal-v1+json" }
202
Copied!
{
"_links": {
"action:events": {
"href": "https://try.access.worldpay.com/payments/alternative/action/paypal/events/{encryptedParams}"
},
"curies": [
{
"name": "action",
"href": "https://try.access.worldpay.com/rels/payments/alternative/action/paypal/dummyDoc/{rel}",
"templated": true
}
]
}
}
{ "_links": { "action:events": { "href": "https://try.access.worldpay.com/payments/alternative/action/paypal/events/{encryptedParams}" }, "curies": [ { "name": "action", "href": "https://try.access.worldpay.com/rels/payments/alternative/action/paypal/dummyDoc/{rel}", "templated": true } ] } }