Get payment refund
Changed onRetrieve a single payment refund by its ID and the ID of its parent payment.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/payments/{paymentId}/refunds/{refundId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: refunds.read
Query parameters
This endpoint allows embedding related API items by appending the following values via the embed query string parameter.
Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
The payment object.
Example response
{
"resource": "refund",
"id": "re_5B8cwPMGnU",
"mode": "live",
"description": "Refunding a Chess Board",
"amount": {
"currency": "EUR",
"value": "10.00"
},
"paymentId": "tr_5B8cwPMGnU",
"settlementId": "stl_5B8cwPMGnU",
"status": "queued",
"createdAt": "2024-03-20T09:13:37+00:00",
"externalReference": {
"type": "acquirer-reference"
},
"routingReversals": [
{
"amount": {
"currency": "EUR",
"value": "10.00"
},
"source": {
"type": "organization",
"organizationId": "org_1234567"
}
}
],
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"payment": {
"href": "https://...",
"type": "application/hal+json"
},
"settlement": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- info
the response optional property
////became read-only for the status
- info
- breaking
the response property
////became nullable for the status
- breaking