Get access token for XI intercept.
/cnbs/v1/tokenization/access_token
GET | POST
High level summary of required operations:
JSON Payload:
{
"action": "01",
"payment_method": "CC"
}
cURL
curl -X POST "https://<<your.server.here>>/cnbs/v1/tokenization/access_token?sap-client=800&sap-language=EN&apiid=CNBSMV01P" -H "accept: application/json" -H "content-type: application/json" -H "cnbssysid: gPuM1VyY1dxlTE2MEs2yajJUkX3/4+2Pw1alRw4BOtI=" -d "{ \"action\": \"01\", \"payment_method\": \"CC\"}"
cURL
curl -X GET "https://<<your.server.here>>/cnbs/v1/tokenization/access_token?sap-client=800&sap-language=EN&apiid=CNBSMV01R&action=01&payment_method=CC" -H "accept: application/json" -H "content-type: application/json" -H "cnbssysid: gPuM1VyY1dxlTE2MEs2yajJUkX3/4+2Pw1alRw4BOtI=" -H "authorization: Basic Q05CU0FQSUlDRjpjbmJzNHlvdTE="
JSON:
{
"merchant_guid": "711c8483-d37f-4d82-bb9d-0273a560a96d",
"access_token": "2e62de4a-15d8-4e06-bf13-00a6cd2c9fc9",
"paymetric_xi_url": "https://qaapp02.xisecurenet.com/DIeComm",
"status": {
"message_type": "S",
"message_identification": "/CNBS/X_API",
"message_number": 10,
"message_line_string": "Request successfully processed"
}
}