Refund/Partial refund
Refund/Partial refund
A refund can only be made if the transaction has the status of Charge, that is, before that it was completely completed_
The minimum refund amount is 10 tenge_
Client credentials are required authorization
__ Full Refund__
TEST URL: POST https://test-epay-api.epayment.kz/operation/:id/refund PROD URL: POST https://epay-api.homebank.kz/operation/:id/refund
The ID specified in the URL is the transaction ID that you received earlier in the postlink after a successful payment or when requesting the transaction status.
__ Partial refund__
TEST URL: POST https://test-epay-api.epayment.kz/operation/:id/refund?amount=300&externalID=1223123hfkdgk34508etf7
optional parameter amount, if it is not filled in, the confirmation goes for the full amount
externalId is the internal return identifier for the merchant.
Headers
Authorization: Bearer dGVzdGNsaWVudDpzZWNyZXQ=
Response
Http status 200
Error
Http status 400
{
"code": 100,
"message": ""
}