POST api/tt_doc_sa/vip-split/payment/reject-terminal
Request Information
URI Parameters
None.
Body Parameters
VipSplitTerminalPaymentRejectRequest| 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. |
|
| TerminalResponse | socket_event_transaction_response_api |
Required |
|
| CoordinatorControlVersion | Collection of byte |
Required Max length: 8 Min length: 8 |
|
| PartControlVersion | Collection of byte |
Required Max length: 8 Min length: 8 |
Request Formats
application/json, text/json
Sample:
{
"paymentGroupId": "854c1275-420c-4d95-94d8-58cdc0f77f23",
"paymentOwnerToken": "5dfbd842-b9a8-4d42-88aa-dcccabfe07e1",
"documentId": "1bcd293f-61a4-44ba-b5f5-38c69c117dc3",
"paymentOperationId": "8a199885-9245-43f5-8eb7-0ac58dfb3796",
"terminalResponse": {
"$id": "2",
"error": true,
"action": "sample string 2",
"status": "sample string 3",
"method": "sample string 4",
"message_code": "sample string 5",
"message": "sample string 6",
"payload": {
"$id": "3",
"action": "sample string 1",
"locator": "sample string 2",
"orderId": "sample string 3",
"terminal": "sample string 4",
"data": {
"$id": "4",
"orderId": "sample string 1",
"amount": 2.1,
"printReceipt": 3,
"transactionId": "sample string 4"
},
"metadata": {
"$id": "5",
"back_color": "sample string 1",
"order": 2
},
"result": {
"$id": "6",
"deviceId": "sample string 1",
"transactionId": "sample string 2",
"transactionType": "sample string 3",
"amount": 4,
"currencyCode": "sample string 5",
"transactionNumber": "sample string 6",
"result": 7,
"status": 8,
"paymentApp": "sample string 9",
"additionalData": {
"$id": "7",
"orderId": "sample string 1",
"transactionData": {
"$id": "8",
"type": "sample string 1",
"card": "sample string 2",
"terminal": "sample string 3",
"transactionDate": "sample string 4",
"state": "sample string 5",
"result": "sample string 6",
"responseCode": "sample string 7",
"authorizationNumber": "sample string 8",
"cardType": "sample string 9",
"transactionCounter": "sample string 10",
"appId": "sample string 11",
"appLabel": "sample string 12",
"isPinAuthenticated": true,
"isContactless": true,
"capturedMode": 15,
"authorisingCentre": "sample string 16",
"fucId": "sample string 17",
"arc": "sample string 18",
"transactionReference": "sample string 19",
"authenticationType": 20,
"transactionCurrencyCode": "sample string 21",
"location": "sample string 22",
"fucName": "sample string 23",
"modifiers": [
{
"$id": "9"
},
{
"$ref": "9"
}
],
"originalTransactionId": "sample string 24"
}
}
}
},
"metadata": {
"$ref": "5"
}
},
"coordinatorControlVersion": "QEA=",
"partControlVersion": "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": "e0f23aac-d9bf-47c6-be8b-9ae396a8b52f",
"activityId": "e9154085-0e34-4cc2-a462-0637b3e07a51",
"coordinatorDocumentId": "4c72f9c0-1c1f-4a2e-88eb-5fd943eb200f",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "2",
"documentId": "593011c6-e60d-4dbe-9dbe-06188b0b8948",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "2"
}
],
"invoiceDocumentIds": [
"9ae65cf3-f243-4b83-ac99-205310fb7d5d",
"90640a47-f41d-4d93-bb2f-9a371c3c6de9"
]
}