card on file data inquiry

Solved! Go to solution
ka7em
New Contributor

card on file data inquiry

i am validating a request about card on file data inquiry, i have encrypted the payload through mle and i get a 200 OK response on my node js terminal but the response sample doesn't match the response i am getting. Am i on the right track?

 

here's the exact response i get:

 

Example app listening on port 3050.
{
requestHeader: {
requestMessageId: '6da6b8b024532a2e0eacb1af58581',
messageDateTime: '2019-02-35 05:25:12.327'
},
requestData: { pANs: [ 4072208010000000 ], group: 'STANDARD' }
}
Status: 200
Encrypted Response: {"encData":"eyJjdHkiOiJhcHBsaWNhdGlvblwvanNvbjtjaGFyc2V0PVVURi04IiwiZW5jIjoiQTEyOEdDTSIsImlhdCI6MTY1ODMyODk4MDQwOSwiYWxnIjoiUlNBLU9BRVAtMjU2In0.gtbdo6_U5qHCVQhn0vFGjEP-0sn4meTRKnXE0VPk0uAYJGDCVCHG9xeDew3TXUbH5HobG4ovQGMGBr42qUIQ58XxaPiHJhr4k0fsEILgalUfusJvXDCZ3KTY9xyhmr2zXjDwnVQwtfxJHv15xn-4w9OKfOb8FsjnVxzTAdP8PYNigfshS7Hplhmwr0eumxdj5Cq4xHZYVzBkKaLiKU4WFUIc2IiLMKQeg6U3N6kCOHu64AApvFKLamQ9iuZvdh_97QwJ5xsqmHSWKMTYEMu4kyJejD97Xqm7iVPFQd0quh-sEN320-L98Pk_ZlFZb_KkpFqKck6ojm-OifdMtsUvFw.H_bw8QwXfAWcQ-Dq.149PH8wxb8ClqKx9mBsAT0hDtZKeI7JZ_WXwviqeZJRTD515qm_5L3BtCynBBnMro34bjJwfzsObRujpk28b-hwgmCTMuHpdwjFQxwDw86HJyqTI3r6rGjG46PNdKLuBzD56rR-ChjRHxv9Lq5S1efSSY---QHHcfrmrIjE72w-LZe7CY2G6pQ_Lr2IooXrYB0BlcXWGYvAbUtc7vt9ABWaAb2Ki7N0cCefx6cKZlhI6rZAOB3BXAz1Wkt83bqfaj9Tj5GdTtGuxGKaV3PgHARH1pCvyW0pbuKNZspe8_-osCgXORqE0klgNK07MY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SI-Riii2sloagT-Gqzc_vKxB2CN48tdz03aFz7hP2MRKuTE3ObJhfKJqQgKn8Mi8MaSi_OmGYuMTHFpOIZaDHfPgpEsihM4NwOTLllrEKEJw1Pue2WRJhCtT2ETI0tKFHDHIaAKFaU2HNZ3xKkla0lPVfY_Kx5pxR63Wbv4pWU7rjqiEFljW8am2AmFHjTO4nJj8vw-uxI8QByiDIPYxhef1_PJAjHLmJzjHK0jM5w3yAXal9znLo16qzYOM-i1qGPkqp-BhCiFwkrT8MMzmby0P_LFdX0-wIjy0RXM9VEMNvDNssa2rAzT8-j1Rvh40jL8a-kXf0AKnFqm0kxNvgS7sh4UzVfkwm61rOrN5A6hx1K1V3ZRU4LeX_mkGXl2SE_17jWopD19j2_r4mVQ-cwFYjX_mlBFqcxkKBzrx_LcTVKAq0itlsDQguX1KtK0GOFUr_HPxjF5x2ofhLBktn9k4EDXRhEdBBhkFMSpHHIXc7TOnck7SYsC93wenEggkOCSgCDJVMN_aplVoxJFqEA-qY0AG5C9Mx5cVnnwfIIABA6SWh5_Fs9eIa5qJH0_I3hz6c10r55mfaIcvkN00Dwp1tXggY-TInAyVkXS95-6l0kKgwrzgfAcq3arRgXbViVm41NAlMminkgMsOdqD-ux6HwTKfADR5o1NZLVxoV6dOJDrQ7PjGzpuOXWtlsFTiGud1OtT4aL8EemwUWBCZZNGYf9QsPyatbBht6HHYQoI42G_fPs7yA5FN0a0Qh8nPICR65aRTHcxHJk15JgkiycsQq9OXjjnEFpak0BsRAdk-urpW1xzfxs2IFnU1-.N0giHJW6yV1pytuHuS-WMA"}
PS D:\nodejs\mutual_auth> node helloworld.js
Example app listening on port 3050.
{
requestHeader: {
requestMessageId: '6da6b8b024532a2e0eacb1af58581',
messageDateTime: '2019-02-35 05:25:12.327'
},
requestData: { pANs: [ 4072208010000000 ], group: 'STANDARD' }
}
Status: 200
Encrypted Response: {"encData":"eyJjdHkiOiJhcHBsaWNhdGlvblwvanNvbjtjaGFyc2V0PVVURi04IiwiZW5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xN37tbwJypkWApclwFlycEKUMLOpJOUgQKmUX-t1pZqEHLuvcfw1rdRmWQE72ph4h3l-QXCteoOcv3OpFVHI9CPl458AhtUVJpn-ToM-dda6PRdTNJnSUpTV30_EnpP3jV14A55Sw3T_zcY93VYNrun9Ta0bbmwbllacIIW1P-Psj-xTVdMrnAkrntGGYKkpowoBSuFV_pBLTCA3kUOC7XGN0aHnDo21X0OShAt9wZfmrGpoZ1uqzrbIM0nynQgmb4kwPvf_jAkjOdehPCtFtGUPYXoTd6CLr2U_euIcckXlzTP1Q_yhQ-7kA-kWTFtx3nP_3FG9yi1b1xM2yGUvLgSWz5RLr8ARt_BCdLn5j3OIvQLQozLxvzo02tuT5hj1I7NwSi6KvM06qBD0ML7BZVuYURRYX5Tf4ET0XdKZdueMDRFcq4Rc2kGv5IAAKXRQrlHucJnQ8wDDcIWV4wJzt0FjnegEbIfWG5Ov-g0_Y0eKVsupN4fHkBgrNsOndCLp7AbTzCOI0b5VN7K9o0loevrW9fHwSETo_GhTwbsd6ULF13RS5fTC.m5Ubtb-v0wAIEv06EsSaEQ"}


(node:9016) UnhandledPromiseRejectionWarning: Error: no key found
at processKey (D:\nodejs\mutual_auth\node_modules\node-jose\lib\jwe\decrypt.js:176:22)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:9016) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise
which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:9016) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero
exit code.

3 REPLIES 3
DianaTran-Yee
Visa Developer Support Specialist

Re: card on file data inquiry

Hi @ka7em,

 

Please provide me with the x-correlation-id that could be found in the Response Header. Once the x-correlation-id is provided we can check the logs for further investigation.




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

ka7em
New Contributor

Re: card on file data inquiry

unable to find that. response header says: "failed to load response data".

here's my code

var environment = process.env.NODE_ENV || 'sandbox';
//var config_file_name = `./application-${environment}`;

const environmentConfig = require(environment);
module.exports = environmentConfig;

const express = require('express');
const fs = require('fs');
var https = require('https');
const request = require('request');
const app = express();
const bodyParser = require('body-parser')
var path = require('path');
const jose = require('node-jose');
const axios = require('axios');
const base64url = require('base64url');



app.use(express.static(path.join(__dirname, 'public')));
app.use(bodyParser.json());
app.use(express.json());
app.use(bodyParser.urlencoded({extended: true}));

var username = '4TI3A5DHIXM9WV4D8RDE217ZLzR3Kez1ixhQTNvV9BweRnbsM';
var password = 'zUTIIw7H0uPBMT5nE22';
var key = path.join(__dirname, "visa_intern/pk.pem");
var cert = path.join(__dirname, "visa_intern/cert.pem");
var ca = path.join(__dirname, "visa_intern/VDPCA-SBX.pem");

var mleServerPublicCertificate = path.join(__dirname, "visa_intern/server_cert.pem");
var mleClientPrivateKey = path.join(__dirname, "visa_intern/client_cert.pem");
const keyId = 'db9f3b36-0256-4938-9390-da906c7b8e0c';

app.get('/', (req, res) => {

var options = {
hostname: 'sandbox.api.visa.com',
port: 443,
// uri: 'https://sandbox.api.visa.com/vdp/helloworld',
uri: 'https://sandbox.api.visa.com/cofds-web/v1/datainfo',
method: 'POST',
// id: keyId,
key: fs.readFileSync(key),
cert: fs.readFileSync(cert),
//ca: fs.readFileSync(ca),
headers: {

'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Basic ' + Buffer.from(username + ':' + password).toString('base64'),
'KeyId': Buffer.from(keyId),
},

json: true

};
//options.headers.keyId = keyId;
options.agent = new https.Agent(options);

parameters = getParameters();

//request.get(options, (err, res, body) => {
// if (err) {
// return console.log(err);
//}
// console.log(`Status: ${res.statusCode}`);
// console.log(body);
// });
// res.send('Hello World');
//});
//var store = jose.asKey.createKeyStore();

jose.JWK.asKey(fs.readFileSync(mleServerPublicCertificate), 'PEM', {
//jose.JWK(fs.readFileSync(mleServerPublicCertificate), 'PEM', {
"kty": "RSA",
"alg": "RSA-OAEP-256",
"kid": keyId,
enc: "A128GCM",
key_opts: ["wrapKey", "enc"]
}).then(function (result) {
console.log(parameters.payload);
encryptionResult = jose.JWE.createEncrypt({
format: 'compact',
contentAlg: 'A128GCM',
fields: {iat: Date.now()}
}, result).update(JSON.stringify(parameters.payload)).final()
.then(function (data) {
options.body = {"encData": data.toString()};
// , body
request.post(options, (err, response ) => {
if (err) {
return console.log(err);
}
console.log(`Status: ${response.statusCode}`);
console.log(`Encrypted Response: ${JSON.stringify(response.body)}`);
console.log("enc done");

jose.JWK.asKey(fs.readFileSync(mleClientPrivateKey), 'PEM').then(function (result) {
jose.JWE.createDecrypt(result).decrypt(response.body.encData, {
contentAlg: 'A128GCM',
alg: 'RSA-OAEP-256'
// format: 'compact'
}).then(function (decryptedResult) {
console.log(String(decryptedResult.plaintext));
options.uri = 'https://sandbox.api.visa.com/cofds-web/v1/datainfo' //+ JSON.parse(decryptedResult.plaintext);//.transactionIdentifier;
request.get(options, (err, response, body) => {
if (err) {
console.log(`Errored due to ${err}`);
}
// console.log(`Status: ${response.statusCode}`);
// console.log(`Encrypted Response: ${JSON.stringify(response.body)}`);
});
res.send(String(decryptedResult.plaintext));
});
});
});
}).catch(function (reason) {
console.log('Encryption failed due to ');
console.log(reason);
});
});
});

app.listen(3050, function () {
console.log('Example app listening on port 3050.');

})

function getParameters() {
const parameters = {
"Accept": "application/json",
"Content-Type": "application/json"
};
parameters.payload = {
"requestHeader":{
"requestMessageId":"6da6b8b024532a2e0eacb1af58581",
"messageDateTime":"2019-02-35 05:25:12.327"
},
"requestData":{
"pANs":[
4072208010000000
],
"group":"STANDARD"
}
};

return parameters;
}
DianaTran-Yee
Visa Developer Support Specialist

Re: card on file data inquiry

Hi @ka7em,

 

I ran a sandbox test today using the VDC Playground tool and I received a successful request/response payload. As long as you're getting a 200 OK in the Response Header it should be okay. Please see my successful sample request/response payload below and let me know of any questions.

 

End Point https://sandbox.api.visa.com/cofds-web/v1/datainfo
Method POST
Request
{
"requestHeader": {
"requestMessageId": "6da6b8b024532a2e0eacb1af58581",
"messageDateTime": "2019-02-35 05:25:12.327"
},
"requestData": {
"pANs": [4072208010000000],
"group": "STANDARD"
}
}
Response
{
"responseHeader": {
"numRecordsReturned": 1,
"responseMessageId": "1658353577_685_1228499096_-74979967_VDP_WS",
"requestMessageId": "6da6b8b024532a2e0eacb1af58581",
"messageDateTime": "2022-07-20 21:46:17.904"
},
"responseData": {
"panList": [{"panData": {
"panResponseMsg": "Success",
"pAN": "4072208010000000",
"merchants": [
{
"mrchDbaName": "EDF ENERGY",
"mrchName": "EDF ENERGY",
"totalTranCount": "2",
"cardAcceptorId": "54421241",
"mrchDbaId": "20599",
"lastTranCurrency": "GBP",
"sponsoredMerchantId": "ABCD",
"lastMrchTranDt": "2019-04-26",
"vAUUpdateStatus": "N",
"lastTranAmtUSD": "517.63",
"acctNumOld4Digit": "",
"mCC": "4900",
"tokenPANReplacementStatus": "N",
"paymentFacilitatorId": "ABCD",
"lastTranAmt": "400.0",
"tokenReqstrId": "0000000",
"vAULastUpdateDate": "",
"mrchAddr": "TELEDOC 228 PARIS 12 PARIS 75012 PARIS FRANCE",
"mrchURL": "",
"confidenceInd": "C",
"tranTypeDetails": [{
"lastTranCurrency": "GBP",
"lastTranAmt": "400.0",
"lastTranAmtUSD": "517.63",
"tranCount": 2,
"lastTranDateTime": "2019-04-26 09:49:11.000",
"tranType": "MAIL_TELEPHONE"
}],
"tokenPANReplacementDate": "",
"lastTranDateTime": "2019-04-26 09:49:11.000",
"mrchPhoneNum": "0000000"
},
{
"mrchDbaName": "EDF ENERGY",
"mrchName": "EDF ENERGY",
"totalTranCount": "2",
"cardAcceptorId": "54421241",
"mrchDbaId": "20599",
"lastTranCurrency": "GBP",
"sponsoredMerchantId": "ABCD",
"lastMrchTranDt": "2019-04-26",
"vAUUpdateStatus": "N",
"lastTranAmtUSD": "517.63",
"acctNumOld4Digit": "",
"mCC": "4900",
"tokenPANReplacementStatus": "N",
"paymentFacilitatorId": "ABCD",
"lastTranAmt": "400.0",
"tokenReqstrId": "0000000",
"vAULastUpdateDate": "",
"mrchAddr": "TELEDOC 228 PARIS 12 PARIS 75012 PARIS FRANCE",
"mrchURL": "",
"confidenceInd": "C",
"tranTypeDetails": [{
"lastTranCurrency": "GBP",
"lastTranAmt": "400.0",
"lastTranAmtUSD": "517.63",
"tranCount": 2,
"lastTranDateTime": "2019-04-26 09:49:11.000",
"tranType": "MAIL_TELEPHONE"
}],
"tokenPANReplacementDate": "",
"lastTranDateTime": "2019-04-26 09:49:11.000",
"mrchPhoneNum": "0000000"
},
{
"mrchDbaName": "EDF ENERGY",
"mrchName": "EDF ENERGY",
"totalTranCount": "11",
"cardAcceptorId": "54421241",
"mrchDbaId": "20599",
"lastTranCurrency": "USD",
"sponsoredMerchantId": "ABCD",
"lastMrchTranDt": "2020-05-16",
"vAUUpdateStatus": "N",
"lastTranAmtUSD": "230.0",
"acctNumOld4Digit": "",
"mCC": "4900",
"tokenPANReplacementStatus": "N",
"paymentFacilitatorId": "ABCD",
"lastTranAmt": "198.0",
"tokenReqstrId": "0000000",
"vAULastUpdateDate": "",
"mrchAddr": "TELEDOC 228 PARIS 12 PARIS 75012 PARIS FRANCE",
"mrchURL": "",
"confidenceInd": "C",
"tranTypeDetails": [
{
"lastTranCurrency": "GBP",
"lastTranAmt": "345.08",
"lastTranAmtUSD": "345.08",
"tranCount": 3,
"lastTranDateTime": "2020-04-26 09:49:11.000",
"tranType": "SCHEDULED_RECURRING"
},
{
"lastTranCurrency": "USD",
"lastTranAmt": "180.99",
"lastTranAmtUSD": "180.99",
"tranCount": 4,
"lastTranDateTime": "2020-02-18 16:40:10.000",
"tranType": "INSTALLMENT"
},
{
"lastTranCurrency": "USD",
"lastTranAmt": "198.0",
"lastTranAmtUSD": "230.0",
"tranCount": 4,
"lastTranDateTime": "2020-05-16 15:36:28.000",
"tranType": "UNSCHEDULED_RECURRING"
}
],
"tokenPANReplacementDate": "",
"lastTranDateTime": "2020-05-16 15:36:28.000",
"mrchPhoneNum": "0000000"
},
{
"mrchDbaName": "EDF ENERGY",
"mrchName": "EDF ENERGY",
"totalTranCount": "4",
"cardAcceptorId": "54421241",
"mrchDbaId": "20599",
"lastTranCurrency": "GBP",
"sponsoredMerchantId": "ABCD",
"lastMrchTranDt": "2020-04-26",
"vAUUpdateStatus": "N",
"lastTranAmtUSD": "517.63",
"acctNumOld4Digit": "",
"mCC": "4900",
"tokenPANReplacementStatus": "N",
"paymentFacilitatorId": "ABCD",
"lastTranAmt": "400.0",
"tokenReqstrId": "0000000",
"vAULastUpdateDate": "",
"mrchAddr": "TELEDOC 228 PARIS 12 PARIS 75012 PARIS FRANCE",
"mrchURL": "",
"confidenceInd": "C",
"tranTypeDetails": [
{
"lastTranCurrency": "GBP",
"lastTranAmt": "400.0",
"lastTranAmtUSD": "517.63",
"tranCount": 2,
"lastTranDateTime": "2020-04-26 09:49:11.000",
"tranType": "MAIL_TELEPHONE"
},
{
"lastTranCurrency": "USD",
"lastTranAmt": "180.99",
"lastTranAmtUSD": "180.99",
"tranCount": 2,
"lastTranDateTime": "2020-02-18 16:40:10.000",
"tranType": "ECOM_OTHER"
},
{
"lastTranCurrency": "USD",
"lastTranAmt": "159.0",
"lastTranAmtUSD": "229.0",
"tranCount": 3,
"lastTranDateTime": "2020-05-16 15:36:28.000",
"tranType": "AUTH_VERIFICATION"
}
],
"tokenPANReplacementDate": "",
"lastTranDateTime": "2020-04-26 09:49:11.000",
"mrchPhoneNum": "0000000"
},
{
"mrchDbaName": "ITUNES MUSIC STORE",
"mrchName": "APL ITUNES COM BILL",
"totalTranCount": "1",
"cardAcceptorId": "337186000108778",
"mrchDbaId": "1624",
"lastTranCurrency": "USD",
"sponsoredMerchantId": "ABCD",
"lastMrchTranDt": "2020-02-08",
"vAUUpdateStatus": "Y",
"lastTranAmtUSD": "18.99",
"acctNumOld4Digit": "9024",
"mCC": "5734",
"tokenPANReplacementStatus": "N",
"paymentFacilitatorId": "ABCD",
"lastTranAmt": "18.99",
"tokenReqstrId": "00000000",
"vAULastUpdateDate": "2020-09-12",
"mrchAddr": "",
"mrchURL": "",
"confidenceInd": "C",
"tranTypeDetails": [{
"lastTranCurrency": "USD",
"lastTranAmt": "18.99",
"lastTranAmtUSD": "18.99",
"tranCount": 1,
"lastTranDateTime": "2020-02-08 16:40:10.000",
"tranType": "ECOM_OTHER"
}],
"tokenPANReplacementDate": "",
"lastTranDateTime": "2020-02-08 16:40:10.000",
"mrchPhoneNum": "866-712-7753"
},
{
"mrchDbaName": "OTHER RECREATION SERVICES",
"mrchName": "BT CAMPS SOUTH CAROL",
"totalTranCount": "0",
"cardAcceptorId": "000445199040996",
"mrchDbaId": "2836",
"sponsoredMerchantId": "ABCD",
"lastMrchTranDt": "",
"vAUUpdateStatus": "Y",
"acctNumOld4Digit": "9024",
"mCC": "7999",
"tokenPANReplacementStatus": "N",
"paymentFacilitatorId": "ABCD",
"lastTranAmt": "0",
"tokenReqstrId": "00000000",
"vAULastUpdateDate": "2020-09-12",
"mrchAddr": "",
"mrchURL": "www.citigroup.com",
"confidenceInd": "E",
"tranTypeDetails": [{
"lastTranCurrency": "USD",
"lastTranAmt": "159.0",
"lastTranAmtUSD": "159.0",
"tranCount": 1,
"lastTranDateTime": "2020-05-11 15:36:28.000",
"tranType": "AUTH_VERIFICATION"
}],
"tokenPANReplacementDate": "",
"mrchPhoneNum": ""
}
]
}}],
"group": "STANDARD"
},
"status": {
"statusDescription": "COF Service - Success",
"statusCode": "CDI000"
}
}
Response Header
Status Code: 200 OK
Server : nginx
Date : Wed, 20 Jul 2022 21:46:17 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 8172
Connection : keep-alive
X-SERVED-BY : -74979967
X-CORRELATION-ID : 1658353577_685_1228499096_-74979967_VDP_WS
X-APP-STATUS : 200
encrypted : true
Content-Language : en-US
Cache-Control : no-cache, no-store, must-revalidate
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 0
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains
Pragma : no-cache
Expires : -1
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.