Hello all,
I am trying to get transactions history on postman for sandbox API, but always getting the error "Expected input credential was not present".
I have send the certificates and the required data in body, header and authentication, but it is not working yet.
Below I show my Postman configuration:
URL and Params:
Authorization:
Headers (request):
Body (request - PRINT):
Body (request - CODE):
{
"companyId": "80080080_001_00000203",
"clientId": "Visatech_0786",
"pageNumber": "1",
"issuerBid": "80080080",
"endDate": "07/07/2022",
"requestID": "62CDD29B-426B-493A-8CF4-2D5BD2308A4B",
"serviceKey": "105536146570736543",
"accountNumber": "4712563630000001",
"maxRecordsToReturn": "200",
"startDate": "08/08/2022"
}
Header (response):
Body (response):
{
"responseStatus": {
"status": 400,
"code": "9125",
"severity": "ERROR",
"message": "Expected input credential was not present",
"info": ""
}
}
Certificate configuration print:
Hi, @João! Thank you for reaching out. An agent will get back to you as soon as possible. In the meantime, if any community members have ideas you feel may help, please share them here. -Jenn
Hi @João,
Do you also have Message Level Encryption (MLE) authentication for your project? B2B Payment Controls requires the use of MLE due to the nature of account information being sent.
For more information, please see the Visa B2B Controls Authentication Method page.
Thanks,
Illana
Hi, Thanks for your reply @I_Doroteo3 .
Yes, probably that was the problem. I didn't have configured the Message Level Encryption (MLE). Thx for the observation.
I was trying to implement the MLE, but I am having some difficulties. I am following this tutorial:
How to test MLE on Postman
Do you know if there is a way to implement the MLE on postman without using a node.js server, just using the postman by itself?
Thanks,
João Brosin
Hi @João,
Apologies for the late response, I will look into this and get back to you.
Please also checkout this Visa YouTube tutorial on MLE: https://www.youtube.com/watch?v=YMDox3Yh2jY
Thanks,
Illana