πΉRefund
Refund of payment via api
A refund can only be made if the payment is completed with the status "Charge"
to make a refund, you need to make a POST request to this url: https://{url}.finipay.kg/api/v1.1.0/refund.
POST
https://{url}.finipay.kg/api/v1.1.0/refund
Headers
Name
Value
Content-Type
application/json
Authorization
Basic Auth
Body
Name
Type
Description
orderNumber
*
String
The unique number of transaction
amount
*
BigDecimal
The amount you want to refund
* - required
Response
Full refund
{
"code": "204",
"message": "REFUND",
"data": {
"amount": 200.00,
"refunded": 200,
"refundable": 0.00,
"currency": "KGS"
}
}
Partial refund
{
"code": "204",
"message": "REFUND",
"data": {
"amount": 200.00,
"refunded": 100,
"refundable": 100.00,
"currency": "KGS"
}
}
Last updated