Tue, 10/27/2015 - 07:18
#1
Where do I set the JS Security Key?
I am trying to create the Tokenize Credit Cards Request in the Payeezy Direct API in Java. I am able to set all of the fields aside from the JS Security key. I know where the value for that field lives, but I don't know where to put it. Please advise.
Thanks!
The JS Security key parameter is required if you are using GET API call from your Java code.
If you are using POST API call to generate your token then you don't need JS Security key parameter.
Please review the API smart docs for GET & POST.
GET API CALL
https://developer.payeezy.com/tokenizecreditcard/apis/get/securitytokens-1
POST API CALL
https://developer.payeezy.com/tokenizedtreditcardpost/apis/post/transactions/tokens-1
Thanks.
Both specs to indicate that the JS Security Key is required. So...
Thanks.
Both specs seem to indicate that the JS Security Key is required. So...
I see that the property for POST api call says JS Security Key is required. But if you look at the header parameters for POST API call, we are not using JS Security key. We shall update our documentation to remove this.
So, JS Security Key is required only for GET API call to generate a token. It is not required for POST API call to generate a token.
Best Regards,
Payeezy Team
Thanks!!