This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
underpaid and overpaid payment statuses introduced in v1.0.5 are no longer issued.fail.status: "fail", codeId: null and amountAdjustment: null.success as a paid state.status values issued for new payments: new, success, fail (previously new, success, fail, underpaid, overpaid).amountAdjustment (webhook data, /api/v1/payment/details) is always null for new payments. The field is kept for backward compatibility.amountInCents is no longer adjusted to the actually paid amount.underpaid / overpaid before this change keep that status. For them /api/v1/payment/details still returns:status: underpaid or overpaidamountInCents — the adjusted amount that was creditedamountAdjustment — { originalAmountInCents, originalAmountToChargeInCents, paidAmountToChargeInCents }{
"type": "payment",
"data": {
"paymentId": "43066701-0111-412c-8a0c-b8c06800449d",
"status": "fail",
"amountInCents": 100000,
"currencyId": "UAH",
"codeId": null,
"createdAt": "2026-02-12T10:30:00.000Z",
"amountAdjustment": null
}
}underpaid and overpaid.UAH and KZT). In both cases:amountInCents (webhook, /api/v1/payment/details) and amountToChargeInCents (/api/v1/payment/details) already contain the adjusted values.amountAdjustment object.success as a paid state must be updated — otherwise underpaid / overpaid payments will be ignored even though the customer was charged and a code was issued.underpaid), the payment gets status fail and no code is issued.status values in the webhook, /api/v1/payment/details and /api/v1/payment/status:underpaid — the customer paid less than requestedoverpaid — the customer paid more than requesteddata) and /api/v1/payment/details response now include:amountAdjustment — null for regular payments; for underpaid / overpaid an object:originalAmountInCents — the amount that was originally supposed to be credited to the balanceoriginalAmountToChargeInCents — the amount the customer was originally asked to paypaidAmountToChargeInCents — the amount the customer actually paidstatus enum: new, success, fail, underpaid, overpaid (previously new, success, fail).underpaid / overpaid:amountInCents — the adjusted amount actually credited to the balanceamountToChargeInCents (/api/v1/payment/details only) — the amount the customer actually paidsuccess, underpaid and overpaid as paid states and credit data.amountInCents.{
"type": "payment",
"data": {
"paymentId": "43066701-0111-412c-8a0c-b8c06800449d",
"status": "underpaid",
"amountInCents": 48000,
"currencyId": "UAH",
"codeId": "ABC123DEF456",
"createdAt": "2026-02-12T10:30:00.000Z",
"amountAdjustment": {
"originalAmountInCents": 100000,
"originalAmountToChargeInCents": 104170,
"paidAmountToChargeInCents": 50000
}
}
}null:{
"status": "success",
"amountInCents": 100000,
"amountAdjustment": null
}errorCode in the API Error Codes Reference section and review its description and possible solutions./api/v1/payment response now includes:amountInCents — the amount that will be credited to the balance/api/v1/payment/details response now includes:amountToChargeInCents — the amount that was charged or will be charged from the useramountInCents — amount credited to the balanceamountToChargeInCents — final amount charged from the user, including commissions or provider-specific adjustmentsfail may later be confirmed as success by the banking provider within 24 hours.paymentId with status successfail, it should be updated to successCreatePaymentResponseDto now includes new fields:amountToChargeInCents (required)cardNumber (optional)amountToChargeInCents is now a required field in the response.cardNumber — recipient card number for completing the transactionCreatePaymentResponseDto{
"data": {
"paymentId": "43066701-0111-412c-8a0c-b8c06800449d",
"status": "new",
"amountInCents": 10050,
"amountToChargeInCents": 10200,
"currencyId": "UAH",
"paymentUrl": "https://pay.xbit.com/...",
"cardNumber": "444111****2222"
}
}