Payment confirmation/partial confirmation

Client credentials are required authorization

URL TEST POST https://testepay.homebank.kz/api/operation/:id/charge
URL PROD POST https://epay-api.homebank.kz/operation/:id/charge

For full or partial payment confirmation, the transaction must have the Auth status.

Partial write-off

TEST URL: POST  https://testepay.homebank.kz/api/operation/:id/charge?amount=300
PROD URL: POST  https://epay-api.homebank.kz/operation/:id/charge?amount=300

optional parameter amount, if it is not filled in, the debit goes to the full amount, you can also specify the full amount in the parameter

or in the json body

{
    "amount": 2400
}

it is acceptable to pass values in both parameters, in which case the values must be identical


Headers
    Authorization: Bearer dGVzdGNsaWVudDpzZWNyZXQ=

Response

Http status 200

Error

Http status 400.x

{
    "code": 100,
    "message": ""
}