This function requests that CHD be added to the Global Token Vault and that a card token be returned for future use. This function cannot be used for EMV processing.
Integration Methods:
- Host Direct
- Locally Installed UTG
- Commerce Engine For On Premise
- Commerce Engine For Cloud
See the Integration Methods and URLs Section sections of the Development Quick Start guide for details regarding each processing option.
See the JSON Body Schemas for more details on the various JSON body formats.
Refers to the name of the program or application that is sending requests to Shift4. This should be the name of the program that you purchased or created. The following special characters are not allowed: $ % : ^ - ~ ` < > , ? “ ” ‘ ’ { } [ ] \ + =
Refers to the vendor or partner that designed and certified the interface. The information you use in this field should match what Shift4 has on file or what was agreed upon in your Integration Plan. The following special characters are not allowed: $ % : ^ - ~ ` < > , ? “ ” ‘ ’ { } [ ] \ + =
A security credential used to authenticate API requests and all i4Go® authorizeClient/preauthorizeClient requests. An Access Token is the alias for the merchant account and interface being used. The Access Token is required in all requests except an Access Token Exchange request, which generates an Access Token using an authToken and clientGuid.
The date and time in ISO 8601 format including the timezone offset (yyyy-mm-ddThh:mm:ss.nnn+hh:mm).
Must be sent as the local date/time of the merchant. For example, a request processed at a merchant in the Pacific time zone at 9:18am on April 15th 2021 would be sent as 2021-04-15T09:18:23.283-07:00
API Options modify the request being made. See the API Options section for more information.
[ "RETURNEXPDATE", "ALLOWPARTIALAUTH" ]
- Host Direct Test URLhttps://api.shift4test.com/api/rest/v1/tokens/add
- Host Direct Production URLhttps://api.shift4api.net/api/rest/v1/tokens/add
- Locally Installed UTG URLhttps://192.168.1.10:277/api/rest/v1/tokens/add
- Commerce Engine For On Premise URLhttps://192.168.1.20:8085/api/rest/v1/tokens/add
- Commerce Engine For Cloud Test URLhttps://api.shift4test.com/api/rest/v1/tokens/add
- Commerce Engine For Cloud Production URLhttps://api.shift4api.net/api/rest/v1/tokens/add
- Commerce Engine For On Premise
- Commerce Engine For Cloud
- UTG Controlled Device
- P2PE - ID TECH - EMV/MSR/Manual
- P2PE - TDES DUKPT - EMV
- P2PE - TDES DUKPT - MSR/Manual
- P2PE - On-Guard SDE - EMV
- P2PE - On-Guard SDE - MSR/Manual
- P2PE - AES - Manual
- Card Number Unencrypted
- ACH
{ "dateTime": "2024-05-27T09:18:23.283-07:00" }
Request was processed
[ { "dateTime": "2021-04-15T09:18:23.283-07:00", "card": { "entryMode": "2", "number": "XXXXXXXXXXX2221", "token": { "value": "8038471748812221" }, "type": "AX" }, "device": { "terminalId": "1742" }, "merchant": { "mid": 15877, "name": "Merchant XYZ" }, "server": { "name": "U2API01CE" } } ]
- Card Data
- ACH
{ "result": [ { "dateTime": "2021-04-15T09:18:23.283-07:00", "card": { "entryMode": "2", "number": "XXXXXXXXXXX2221", "token": { … }, "type": "AX" }, "device": { "terminalId": "1742" }, "merchant": { "mid": 15877, "name": "Merchant XYZ" }, "server": { "name": "U2API01CE" } } ] }