Request
Body Params application/json
Request Code Samples
curl --location --request POST 'https://api.lopay.com/api/1/partner/payment//refund' \
--header 'x-merchant-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": -500
}'
Responses
{
"id": "662a8074-6959-4793-8ac9-a1f03d5f1181",
"status": "refunded",
"type": "card",
"taxes": [
{
"name": "VAT (20%)",
"inclusive": true,
"rate": "20.00",
"amount": {
"units": 500,
"currencyCode": "GBP"
}
}
],
"tip": {
"units": 0,
"currencyCode": "GBP"
},
"subtotal": {
"units": 3000,
"currencyCode": "GBP"
},
"total": {
"units": 3000,
"currencyCode": "GBP"
},
"createdAt": "2023-03-08T23:12:32.686Z",
"updatedAt": "2023-03-09T12:45:00.000Z"
}
Modified at 2025-10-30 11:30:45