POST api/tt_doc_sa/vip-split/refund/start
Request Information
URI Parameters
None.
Body Parameters
VipSplitRefundStartRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGroupId | globally unique identifier |
None. |
|
| PaymentOwnerToken | globally unique identifier |
None. |
|
| SourceDocumentId | globally unique identifier |
None. |
|
| SourcePaymentLine | integer |
Range: inclusive between 1 and 2147483647 |
|
| RefundOperationId | globally unique identifier |
None. |
|
| CoordinatorControlVersion | Collection of byte |
Required Max length: 8 Min length: 8 |
|
| SourceControlVersion | Collection of byte |
Required Max length: 8 Min length: 8 |
Request Formats
application/json, text/json
Sample:
{
"paymentGroupId": "b666e945-69a1-4b3c-88ed-f347028b7030",
"paymentOwnerToken": "a2146bc4-c378-4293-9c01-ac07bcfe135f",
"sourceDocumentId": "0cca6a95-e96f-464a-a637-5eb8200d8171",
"sourcePaymentLine": 4,
"refundOperationId": "231d90d5-49eb-4e54-a847-499df27879b5",
"coordinatorControlVersion": "QEA=",
"sourceControlVersion": "QEA="
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VipSplitRefundStartResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceDocumentId | globally unique identifier |
None. |
|
| SourcePaymentLine | integer |
None. |
|
| RefundDocumentId | globally unique identifier |
None. |
|
| RefundOperationId | globally unique identifier |
None. |
|
| PaymentMode | VipSplitPaymentMode |
None. |
|
| TerminalName | string |
None. |
|
| Amount | decimal number |
None. |
|
| CurrencyCode | string |
None. |
|
| OriginalTransactionId | string |
None. |
|
| IsNewOperation | boolean |
None. |
|
| SourceControlVersion | Collection of byte |
None. |
|
| Process | VipSplitProcessResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"sourceDocumentId": "78574658-bc9d-4aed-82c7-33a2756d82ca",
"sourcePaymentLine": 2,
"refundDocumentId": "21949256-b502-45c7-8553-49732c9a3ea1",
"refundOperationId": "73a39102-bb7e-4f48-9eb9-5bcee22c1bfc",
"paymentMode": 1,
"terminalName": "sample string 5",
"amount": 6.0,
"currencyCode": "sample string 7",
"originalTransactionId": "sample string 8",
"isNewOperation": true,
"sourceControlVersion": "QEA=",
"process": {
"$id": "2",
"paymentGroupId": "ebe365c4-6968-4adc-a007-5cfb4d998d60",
"activityId": "4fae06bb-6bb2-45de-88e2-225a4fcfd2c5",
"coordinatorDocumentId": "178b72da-6db4-45d2-92b6-f0287040b39a",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "3",
"documentId": "2fbb9539-cb75-42f4-8dc0-577f2e9db8c3",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "3"
}
],
"invoiceDocumentIds": [
"20df5af1-3843-452a-8085-4317667c3799",
"a049d8f0-6067-492a-b5b3-8033bb5d1501"
]
}
}