All URIs are relative to https://api.mastercard.com/mdes
| Method | HTTP request | Description |
|---|---|---|
| createTransact | POST /remotetransaction/static/1/0/transact | Used by the Token Requestor to create a Digital Secure Remote Payment ("DSRP") transaction cryptogram using the credentials stored within MDES in order to perform a DSRP transaction. |
TransactResponseSchema createTransact(opts)
Used by the Token Requestor to create a Digital Secure Remote Payment ("DSRP") transaction cryptogram using the credentials stored within MDES in order to perform a DSRP transaction.
This API is used by the Token Requestor to create a Digital Secure Remote Payment ("DSRP") transaction cryptogram using the credentials stored within MDES in order to perform a DSRP transaction through a payment processor. The entire response is encrypted. The caller may only transact using the Tokens belonging to them.
var MdesDigitalEnablementApi = require('mdes_digital_enablement_api');
var apiInstance = new MdesDigitalEnablementApi.TransactApi();
var opts = {
'transactRequestSchema': new MdesDigitalEnablementApi.TransactRequestSchema() // TransactRequestSchema | 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.createTransact(opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| transactRequestSchema | TransactRequestSchema | Contains the details of the request message. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json