- Home
- All APIs
- Access Worldpay
- API reference
- iDEAL
- Sale
- Partial Refund
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"
]
}
{ "type": "object", "properties": { "value": { "type": "object", "properties": { "amount": { "type": "integer" }, "currency": { "type": "string" } }, "required": [ "amount", "currency" ] }, "reference": { "type": "string" } }, "required": [ "value", "reference" ] }
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
iDEAL:action
Retrieve partial refund resource details
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"
}
{ "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"
}
{ "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
}
]
}
}
{ "_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 } ] } }