Refunding card payments
Check the status of a refund
Changed onYou can use this endpoint to get details about an individual refund.
get/v1/payments/{paymentId}/refunds/{refundId}
Request
- Base URLhttps://publicapi.payments.service.gov.uk
- URLhttps://publicapi.payments.service.gov.uk/v1/payments/{paymentId}/refunds/{refundId}
- AuthHTTP bearer
Path parameters
paymentIdstring required
The unique payment_id of the payment you want to view a refund of.
refundIdstring required
The unique refund_id of the refund you want to view. If one payment has multiple refunds, each refund has a different refund_id.
Response
OK - your request was successful.
Example response
{
"_links": {
"payment": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"self": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
}
},
"amount": 120,
"created_date": "2017-01-10T16:52:07.855Z",
"fee": 2,
"net_amount": -122,
"payment_id": "hu20sqlact5260q2nanm0q8u93",
"refund_id": "act4c33g40j3edfmi8jknab84x",
"settlement_summary": {
"settled_date": "2016-01-21"
},
"status": "success"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info