POST api/tt_doc_sa/vip-split/payment/start
Request Information
URI Parameters
None.
Body Parameters
VipSplitPaymentStartRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGroupId | globally unique identifier |
None. |
|
| PaymentOwnerToken | globally unique identifier |
None. |
|
| DocumentId | globally unique identifier |
None. |
|
| PaymentOperationId | globally unique identifier |
None. |
|
| PaymentMode | VipSplitPaymentMode |
None. |
|
| CoordinatorControlVersion | Collection of byte |
Required Max length: 8 Min length: 8 |
|
| PartControlVersion | Collection of byte |
Max length: 8 Min length: 8 |
|
| TerminalName | string |
Max length: 10 |
|
| PaymentAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"paymentGroupId": "de092327-f807-4e86-8397-9d4f7c0deb0b",
"paymentOwnerToken": "a3c27ee8-1ddf-4b18-88f8-fb465ce0d9d7",
"documentId": "0c55812c-1450-40b3-a857-d6ae626d2613",
"paymentOperationId": "90cfa707-4126-40c9-acd0-8f0b68f2683e",
"paymentMode": 1,
"coordinatorControlVersion": "QEA=",
"partControlVersion": "QEA=",
"terminalName": "sample string 5",
"paymentAmount": 1.0
}
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": "8b03d141-8a38-4217-9799-458efd86f2a1",
"paymentOperationId": "349f18d8-525a-40c0-8763-a2ffba846352",
"paymentMode": 1,
"amount": 3.0,
"isNewOperation": true,
"process": {
"$id": "2",
"paymentGroupId": "f584908e-4c2d-4a55-818c-7805d4bc91e7",
"activityId": "879716b8-e583-4e7a-988d-ffd618977c9a",
"coordinatorDocumentId": "caa14545-9ff9-4a6f-8066-8e46cb8e623b",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "3",
"documentId": "5a095b52-ab13-4fb4-b993-8ace7bc0b059",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "3"
}
],
"invoiceDocumentIds": [
"01cf5217-d10f-48bf-8473-28182b5e696f",
"8b401979-36b1-4326-8d92-1c5e2916039c"
]
},
"terminalName": "sample string 5"
}