Hi @JavierSivack,
Correct, the tool is not compatible with Mac, unfortunately.
So? What can I do?
Hi @JavierSivack,
Please try the following:
resourcePath = 'customerrules/v1/consumertransactioncontrols';
postBody = pm.request.body.toString();
And add to the Postman Body
{"primaryAccountNumber": "451417000000XXXX"}
I was able to get a successful response in Postman.
Hi Stacy.
Ok, thanks make a change.
But now I have these response:
{
"metainfo": {
"Description": "Bad Request",
"Code": 400
},
"error": [
"primaryAccountNumber can only have numeric digit."
]
}
Testing with what you send me, and what I had, my auth problem was the resourcePath. I never tried that you send me, I think when I tried something similar I added the vctc part of the path like "vctc/customerrules/v1/consumertransactioncontrols".
Any way, now the problem is with data I think, response error message is "primaryAccountNumber can only have numeric digit."
Strange, because on test data, it has that xxxx mask.
Hi @JavierSivack,
Please try and replace xxxx with 0001.
The sample test PAN for the Customer Rules API is also provided in the code explorer here:
https://developer.visa.com/capabilities/vctc/reference#vctc__customer_rules__v1__vtc_registration
Stacy, that worked!
I'm wrong, or the Api references, has changed, I think I remember that it said that account number must be masked.
And if I look now in the Test Data in my dashboard, it still show a masked account number.