Partial Refund

Perform a PayPal partial refund request for a successful transaction.

Methods

POST

Perform a partial refund request.

Request

Copied!
{
 "type": "object",
 "properties": {
  "value": {
   "type": "object",
   "properties": {
    "amount": {
     "type": "integer"
    },
    "currency": {
     "type": "string"
    }
   },
   "required": [
    "amount",
    "currency"
   ]
  },
  "reference": {
   "type": "string"
  }
 },
 "required": [
  "value",
  "reference"
 ]
}

Responses

Examples

POST
 paypal partial refund with an outcome of partial refund status query uri
View

Link relationship

post
 paypal partial refund with an outcome of partial refund status query uri 
POST
Copied!
{
  "Authorization": "Basic Auth",
  "Content-Type": "application/vnd.worldpay.paypal-v1+json",
  "Accept": "application/vnd.worldpay.paypal-v1+json"
}

202

Copied!
{
  "_links": {
    "paypal:events": {
      "href": "https://try.access.worldpay.com/payments/alternative/action/paypal/events/{encryptedParams}"
    },
    "curies": [
      {
        "name": "paypal",
        "href": "https://try.access.worldpay.com/rels/payments/alternative/action/paypal/dummyDoc/{rel}",
        "templated": true
      }
    ]
  }
}