Re: Alerts History and Customer Profiles API - Account Notifications Inquiry

Solved! Go to solution
JavierSivack
Regular Contributor

Alerts History and Customer Profiles API - Account Notifications Inquiry

Hello.

I'm implementing the Account Notifications Inquiry on sandbox. It does not have any Test Data. 

Any way it response something is not true, or I do not get how to do it.

My Postman request log is this: 

POST /vctc/customerrules/v3/consumertransactioncontrols/customer/notificationInquiry?apiKey=MY_KEY HTTP/1.1
x-pay-token: xv2:1631892173:39794a8f13401b066aa3e2c139c725edb5d79b2155ac942781562350da373b58
Accept: application/json
APP-ID: aaa
SPONSOR-ID: aaa
Content-Type: application/json
User-Agent: PostmanRuntime/7.28.4
Postman-Token: 13400236-4f40-42aa-99c0-f24ab8f245c4
Host: sandbox.api.visa.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 244
 
{
"pagination": {
"pageLimit": 1,
"startIndex": 1
},
"primaryAccountNumbers": [
4986490538230001
],
"includeAlertDetails": true,
"includeMerchantDetails": true,
"includeContactDetails": true
}
 
HTTP/1.1 400 Bad Request
Server: nginx
Date: Fri, 17 Sep 2021 15:22:55 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 130
Connection: keep-alive
X-SERVED-BY: l73c016
X-CORRELATION-ID: 1631892175_448_403446330_l73c016_VDP_WS
X-APP-STATUS: 400
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: -1
X-Cnection: close
 
{"responseStatus":{"status":400,"code":"9125","severity":"ERROR","message":"Expected input credential was not present","info":""}}

As you can see, it saying that input credential was not present. I think input credentials means APP-GROUP-ID, APP-ID or SPONSOR-ID headers. 

But I had tried with only one, with two of them, and with all, and like APP-ID, appId, appID, and no change. 

 

Any idea what's going on?

 

Thanks,

Javier


Javier Sivack
Software Engineer
Ciphertext Solutions, Inc.
2 REPLIES 2
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Alerts History and Customer Profiles API - Account Notifications Inquiry

Hi @JavierSivack,

 

MLE is mandatory for Alerts History and Customer Profiles API - Account Notifications Inquiry. Did you try encrypting the request payload with your MLE credentials?


Best,
Stacey

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

Re: Alerts History and Customer Profiles API - Account Notifications Inquiry

Hi Stacy, 

That was the problem.

Thank you, I did not realized that.

 

Kind regards,

Javier Sivack


Javier Sivack
Software Engineer
Ciphertext Solutions, Inc.