POST completion
Authorization advice flow must be used by terminal to notify to CHS all successful transactions made with foreign card.
Request Information
URI Parameters
None.
Body Parameters
AuthAdviceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceId |
Device ID
|
string |
None. |
| acquirerId |
Acquirer ID
|
string |
Range: inclusive between 0 and 9.22337203685478E+18 String length: inclusive between 0 and 19 |
| merchantId |
Merchant ID
|
string |
String length: inclusive between 0 and 35 |
| terminalId |
Terminal ID
|
string |
String length: inclusive between 0 and 16 |
| localDatetime |
Local Transaction Datetime in ISO8601 format with timezone |
string |
Required |
| baseAmount |
Base Amount |
AuthAdviceBaseAmount |
Required |
| convertedTransaction |
Foreign Amount |
AuthAdviceConvertedTransaction |
None. |
| card |
Card Information |
AuthAdviceRequestCard |
None. |
| rrrId |
Rate Request Reference ID |
string |
String length: inclusive between 0 and 34 |
| authorizationCode |
Authorization Code |
string |
String length: inclusive between 0 and 6 |
| dccProcessStatus |
DCC Process Status |
string |
Required Range: inclusive between 0 and 3 |
| invoiceNumber |
Trace Number / Invoice Number |
string |
Range: inclusive between 0 and 9.22337203685478E+18 String length: inclusive between 0 and 19 |
| authorizationMessageType |
Authorization Message Type |
string |
Required Range: inclusive between 0 and 6 |
| transactionDate |
Transaction Date |
string |
Required |
| dateSettlement |
Date Settlement |
string |
None. |
| terminalSettlementBatchNumber |
Terminal Settlement Batch Number |
string |
Required Range: inclusive between 0 and 999999 String length: inclusive between 0 and 6 |
Request Formats
application/json, text/json
{
"deviceId": "sample string 1",
"acquirerId": "sample string 2",
"merchantId": "sample string 3",
"terminalId": "sample string 4",
"localDatetime": "sample string 5",
"baseAmount": {
"currency": {
"code": "sample string 1",
"numericCode": "sample string 2",
"symbol": "sample string 3",
"minorUnit": 4,
"displayUnit": 5
},
"value": "sample string 1"
},
"convertedTransaction": {
"amount": {
"value": "sample string 1",
"currency": {
"code": "sample string 1",
"minorUnit": 2,
"displayUnit": 3
}
},
"rate": {
"type": "sample string 1",
"value": "sample string 2",
"fcmid": "sample string 3",
"fctid": "sample string 4"
}
},
"card": {
"secureNumber": {
"Length": 0
},
"number": null,
"currency": "sample string 2",
"readingMethod": "sample string 3",
"country": "sample string 4",
"type": "sample string 5"
},
"rrrId": "sample string 6",
"authorizationCode": "sample string 7",
"dccProcessStatus": "sample string 8",
"invoiceNumber": "sample string 9",
"authorizationMessageType": "sample string 10",
"transactionDate": "sample string 11",
"dateSettlement": "sample string 12",
"terminalSettlementBatchNumber": "sample string 13"
}
Response Information
Resource Description
AuthAdviceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| result |
Possible codes: "0000", "6999", "6000", "6001", "6002", "6003", "6004", "6005", "6100" |
Result |
None. |
Response Formats
application/json, text/json
{
"result": {
"code": "sample string 1",
"description": "sample string 2"
}
}