Hello,
I have realized that if I make a GET call to https://sandbox.api.visa.com/vctc/customerrules/v1/consumertransactioncontrols/{documentID}/rules, on a document to Retrieve a Control Document as API References say.
Then when I make a POST on https://sandbox.api.visa.com/vctc/customerrules/v1/consumertransactioncontrols/controlHistory, to Retrieve a history of changes made to the control document since it was created listed chronologically, the last change, that I asume is the GET call, shows as ADD_CONTROLS status.
I have tested, doing a delete on the controls, and then a GET, and again the second last is DELETE_CONTROLS, and the last is ADD_CONTROLS.
Is that the correct behaviour?
Thanks in advance.
Javier Sivack
Solved! Go to Solution
Hi @JavierSivack,
Can you please send the request body and response for all the API calls you are making? Please email it to developer@visa.com and we'll take a look. There are limitations using the sandbox to test the APIs, as sandbox is a static simulator and not a live environment. It is meant to be used as a guide to see the sample request and response.
Hi Stacy,
I had figured out what was doing wrong. I was sending an empty request body.
Now I did not send it, and it does not add the ADD_CONTROLS.
Thanks!
Javier Sivack
@JavierSivack , Thanks for sharing your solution!