Partial Refund

Perform an iDEAL 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
 iDEAL partial refund with an outcome of partial refund status query uri
View

Link relationship

post
 iDEAL partial refund with an outcome of partial refund status query uri 
POSThttps://try.access.worldpay.com/payments/alternative/action/ideal/refunds/partials/{encryptedParams}
Copied!
{
  "Authorization": "Bearer Token",
  "Content-Type": "application/vnd.worldpay.pay-action-v1+json",
  "Accept": "application/vnd.worldpay.pay-action-v1+json"
}
Copied!
{
  "value": {
    "amount": "100",
    "currency": "EUR"
  },
  "reference": "partial-refund-reference"
}

202

Copied!
{
  "_links": {
    "ideal:query": {
      "href": "https://try.access.worldpay.com/payments/alternative/action/ideal/query?transactionReference={transactionReference}&entity={entity}"
    },
    "curies": [
      {
        "name": "ideal",
        "href": "https://try.access.worldpay.com/rels/payments/alternative/action/ideal/dummyDoc/{rel}",
        "templated": true
      }
    ]
  }
}