v1

latestOpenAPI 3.1.02026-08-0621113.8 KB

Create refund for payment

Endpoint to initiate refund of Bancontact Company payment to the debtor. This endpoint is idempotent based on 'Idempotency-Key' header. So the same request can be safely retried in case of timeout/network issue.

post/v3/payments/{payment-id}/refunds

Path parameters

payment-idstring required

Payment Id

Headers

Idempotency-Keystring required

Unique request identifier with a maximum of 64 characters (we recommend UUID). It will be used for idempotency check.

Request body

amountinteger required

Amount in cents

currency'EUR' required

currency code. Only EUR is supported ISO 4217

descriptionstring

refund description

Response

Refund successfully created

refundIdstring required

refund identifier

paymentIdstring required

payment identifier

status'PENDING' required

Refund status after creation. Always has value 'PENDING', because refund processing is asynchronous. Current status can be checked using GET '/v3/payments/{payment-id}/refunds/{refund-id}' endpoint.

amountinteger required

Amount in cents

currency'EUR' required

currency code. Only EUR is supported ISO 4217

descriptionstring

refund description

creationDatestring date-time required

timestamp, when refund was created