Hello,
i am trying to call this api
vctc/customerrules/v3/consumertransactioncontrols/customer/notificationInquiry
i am using mutual auth and sending
vctc/customerrules/v3/consumertransactioncontrols/customer/notificationInquiry
Solved! Go to Solution
Thank you for your question, @aminarais! An agent will get back to you soon. In the meantime, if any community member knows the solution, please reply to this thread.
Hi @aminarais,
I ran a sandbox test using the Visa Developer Center Playground tool and got a successful request/response payload. Please see my sample request/response payload below.
Note: You can enable Proxy feature and enter in the Host and Port if you're using VPN. Also, make sure to use your own public key and private key for both the Mutual SSL Certs and MLE.
End Point https://sandbox.api.visa.com/vctc/customerrules/v3/consumertransactioncontrols/customer/notification...
Method POST
Request
{
"pagination": {
"pageLimit": "10",
"startIndex": "1"
},
"includeAlertDetails": true,
"includeMerchantDetails": true,
"primaryAccountNumbers": ["4514170000000001"],
"paymentTokens": ["1234567891234567891"],
"timeRange": {
"startTime": "2023-06-05 07:29:17",
"endTime": "2023-06-05 07:29:17"
},
"documentIds": [
"ctc-ip-98b195ed-138f-49a5-bc4e-cdc986e79960",
"ctc-ip-98b195ed-138f-49a5-bc4e-cdc986e79960"
]
}
Response
{
"receivedTimestamp": "2023-07-11 22:31:31.993",
"resource": {"notificationDetails": []},
"processingTimeinMs": 214
}
Response Header
Status Code: 200
Server : nginx
Date : Tue, 11 Jul 2023 22:31:32 GMT
Content-Type : application/json;charset=UTF-8
Content-Length : 676
Connection : keep-alive
X-SERVED-BY : -697d9q5
X-CORRELATION-ID : 1689114691_719_502844241_-697d9q5_VDP_WS
X-APP-STATUS : 200
X-Backside-Transport : OK OK,OK OK
Cache-Control : no-cache, no-store, must-revalidate
Pragma : no-cache
Expires : -1
Accept : application/json
X-Global-Transaction-ID : 18dcb9c464add8432e0725c1
encrypted : true
Content-Language : en-US
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 0
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains
Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always