POST api/tt_doc_sa/vip-split/external/payment/start
Request Information
URI Parameters
None.
Body Parameters
VipSplitExternalPaymentStartRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| pos_name | string |
Required String length: inclusive between 0 and 50 |
|
| id_rua | globally unique identifier |
None. |
|
| terminal_name | string |
Required String length: inclusive between 0 and 10 |
|
| payment_group_id | globally unique identifier |
None. |
|
| document_id | globally unique identifier |
None. |
|
| payment_operation_id | globally unique identifier |
None. |
|
| payment_mode | VipSplitPaymentMode |
None. |
|
| payment_amount | decimal number |
None. |
|
| coordinator_control_version | Collection of byte |
Required Max length: 8 Min length: 8 |
|
| part_control_version | Collection of byte |
Max length: 8 Min length: 8 |
Request Formats
application/json, text/json
Sample:
{
"pos_name": "sample string 1",
"id_rua": "18e848a5-ea74-453e-a276-7346c28daa2e",
"terminal_name": "sample string 3",
"payment_group_id": "beb05271-90ee-4f57-94bc-2fb4073385d8",
"document_id": "564956d8-a084-4dc1-b11e-43e4ebfc1230",
"payment_operation_id": "80ae160f-ebf3-41a0-839d-0a3ff56964e9",
"payment_mode": 1,
"payment_amount": 1.0,
"coordinator_control_version": "QEA=",
"part_control_version": "QEA="
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VipSplitPaymentStartResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentId | globally unique identifier |
None. |
|
| PaymentOperationId | globally unique identifier |
None. |
|
| PaymentMode | VipSplitPaymentMode |
None. |
|
| Amount | decimal number |
None. |
|
| IsNewOperation | boolean |
None. |
|
| Process | VipSplitProcessResponse |
None. |
|
| TerminalName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"documentId": "b16d0c37-982c-4abb-9c4a-3d1bb6e8776f",
"paymentOperationId": "9ea07932-124f-48ce-a125-06e6c37c0a8f",
"paymentMode": 1,
"amount": 3.0,
"isNewOperation": true,
"process": {
"$id": "2",
"paymentGroupId": "9a4ae6ab-d0b2-46a0-9775-e0059c71fc8b",
"activityId": "6017c867-1b0d-4d4c-a23c-1d671248e2ce",
"coordinatorDocumentId": "a10fdf43-d7f4-40c3-8ce5-8f6b38d9a7aa",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "3",
"documentId": "af9c8f18-bf47-4566-ae40-d3bc0cf7154d",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "3"
}
],
"invoiceDocumentIds": [
"606d5a7d-48d2-404d-a86e-8ad041cf0ca6",
"bc1bced4-7993-4354-adfb-4cc91a6fc25c"
]
},
"terminalName": "sample string 5"
}