Transaction types
Transaction types
Transactions are divided into the following groups by type (payment_type field):
| Type | Value | Description |
|---|---|---|
| 1 | Completed | Completed |
| 2 | Declined | Declined |
| 4 | Authorized | Authorized |
| 5 | Partial Refunded | Partially refunded |
| 7 | Voided | Voided after authorization |
| 8 | Failed | Operation error |
| 9 | Partial Voided | Partial void |
| 10 | Recurrent | Recurrent payment (CoF) |
| 11 | Refunded | Refunded |
| 12 | Blocked | Blocked |
| 23 | Verification | Verification |
Please Note
When writing code to process additional notifications, the transaction type must be taken into account. This notification type is intended to inform the online resource about successfully completed transactions and transactions that were subsequently canceled by the online resource itself (refund to the customer).
Thus, successful payments correspond to the following types:
| Type | Value | Description |
|---|---|---|
| 1 | Completed | Completed |
| 4 | Authorized | Authorized |
| 10 | Recurrent | Recurrent payment (CoF) |
| 23 | Verification | Verification |
And canceled payments (refunds) correspond to the following types:
| Type | Value | Description |
|---|---|---|
| 5 | Partial Refunded | Partially refunded |
| 7 | Voided | Voided after authorization |
| 9 | Partial Voided | Partial void |
| 11 | Refunded | Refunded |
When working with acquiring bank CJSC "MTBank" in single-stage operations, a refund initiated within the first 24 hours after payment will result in the transaction being assigned the type Partial Voided or Voided.
Please also note that the maximum and minimum transaction amounts differ between the test and production environments. For the test environment, the minimum payment amount is 0.1 BYN, and the maximum is 10,000 BYN. In the production environment, transaction limits are set according to the terms of the acquiring bank agreement.