New refund request

POST
/payments/{id}/request-refund

Refunds are only available when using Volt Connect

Usage

Pass the id of the existing payment in the URL and the amount and reference for the refund in the body of the request.

Checking eligibility before requesting a refund

You can get the eligibility for a refund using GET /payments/{id}/refund-details

More information

Full details on how to use refunds, with details of notifications you can expect, can be found in our comprehensive integration guides.

Path Parameters

id*string

ID of the payment

Header Parameters

idempotency-key?string

Optional - but recommended - to avoid duplicate refund requests

Formatuuid
X-JWS-Signature?string

Optional - applicable if Volt is your Connect partner

Request Body

application/json

Details of the refund you'd like to request for this payment

amount?|

For full refunds, you do not need to pass a value here. If there's no value, a refund or the remaining refundable amount will automatically be actioned.

For partial refunds, pass the amount to be refunded in 1/100 units (pence, cents etc).

externalReference?string

The reference you want to use for this refund

FormatAlphaNumeric

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://connect-api-sandbox.volt.io/payments/93b85f3c-76eb-4316-b1ae-f3370ddc59bc/request-refund" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "93b85f3c-76eb-4316-b1ae-f3370ddc59bc"
}