POST api/tt_doc_sa/vip-split/refund/unknown
Request Information
URI Parameters
None.
Body Parameters
VipSplitRefundConfirmRequest| 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 |
|
| RefundDocumentId | globally unique identifier |
None. |
|
| 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": "a89a8a24-5961-4c25-984f-99365079e3b2",
"paymentOwnerToken": "c5812db5-6969-439e-a677-fe955069b0c3",
"sourceDocumentId": "02e0f3af-151c-4f21-bc33-25329c9a94d0",
"sourcePaymentLine": 4,
"refundDocumentId": "4493e6c4-2a70-4d84-88e4-8c5c2ef781e4",
"refundOperationId": "d6bc81a6-5529-4699-b1fc-a161948c0564",
"coordinatorControlVersion": "QEA=",
"sourceControlVersion": "QEA="
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VipSplitProcessResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGroupId | globally unique identifier |
None. |
|
| ActivityId | globally unique identifier |
None. |
|
| CoordinatorDocumentId | globally unique identifier |
None. |
|
| ProcessState | DocSaProcessState |
None. |
|
| SaleAmount | decimal number |
None. |
|
| AppliedBalanceAmount | decimal number |
None. |
|
| AmountToCollect | decimal number |
None. |
|
| ControlVersion | Collection of byte |
None. |
|
| Parts | Collection of VipSplitPaymentPartResponse |
None. |
|
| InvoiceDocumentIds | Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"paymentGroupId": "c11c180c-d577-409f-9325-cfd08894a21d",
"activityId": "1db1a5f9-7eb3-44d0-9f71-80f9938c26ba",
"coordinatorDocumentId": "5b87b643-2b50-4aa1-8a32-861c968d1635",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "2",
"documentId": "7c2fc659-2072-440a-af81-d991849f0dae",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "2"
}
],
"invoiceDocumentIds": [
"9722ddde-d5d4-4886-9961-9e7610fd1c3c",
"ac859d4c-3b1f-4233-88c1-a8b25f403741"
]
}