Operation process_batch
The operation of confirming batch payment. It is used if MOBILE was chosen for confirmation in the import_batch_advanced operation.
Query parameters
Parameter | Value |
---|---|
operation | process_batch |
login | <Username> |
token | <TOKEN>. Obtained after invoking get_token. |
encrypted_password | Encrypted password. It is obtained after user password RSA encryption with the use of a public exponent and the modulus obtained in invoking the get_token operation. |
batch_id | <payment id>. Payment document identifier obtained by invoking import_batch_advanced. |
verification_type | Confirmation method. May take values:
|
verification_data | Confirmation data. Depends on the method of confirmation
|
See also
- import_batch_advanced — Uploading a batch payment into the system with the possibility to choose the verification method.
- get_batch_info — Getting detailed information about the loaded batch payment.
Response in the CSV format
Format
Line No. | Data format |
---|---|
1 | 0;<payment ID>;<verification_success> |
Values
Value | Description |
---|---|
<payment ID> | The ID of the batch payment document created in the system. |
<verification_success> | Successful confirmation of payment (1 – success, 2 – failure). |
Response examples
JSON (recommended format, please set x-response-format=json header)
{
"code": 0,
"message": "",
"data": {
"id": "c1f56606-15a8-43ff-99ef-a2a63ddc819a",
"verificationSuccess": 1
}
}
CSV
0;c1f56606-15a8-43ff-99ef-a2a63ddc819a;1