All URIs are relative to https://api.mastercard.com/mdes
Method | HTTP request | Description |
---|---|---|
searchTokens | POST /digitization/static/1/0/searchTokens | Used to get basic token information for all tokens on a specified device, or all tokens mapped to the given Account PAN. |
SearchTokensResponseSchema searchTokens(opts)
Used to get basic token information for all tokens on a specified device, or all tokens mapped to the given Account PAN.
This API is used to get basic token information for all tokens on a specified device, or all tokens mapped to the given Account PAN. It may be used to check current Token(s) state or, in exception scenarios (such as network time out), to ensure that external systems remain in sync with the Token state as maintained by MDES. Deactivated tokens are not returned.
var MdesDigitalEnablementApi = require('mdes_digital_enablement_api');
var apiInstance = new MdesDigitalEnablementApi.SearchTokensApi();
var opts = {
'searchTokensRequestSchema': new MdesDigitalEnablementApi.SearchTokensRequestSchema() // SearchTokensRequestSchema | Contains the details of the request message.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.searchTokens(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
searchTokensRequestSchema | SearchTokensRequestSchema | Contains the details of the request message. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json