I want to explore the Tokenisation Management Service (TMS) of Cybersource and its APIs. I'm currently trying to generate card tokens so that later on, I can detokenize them. So, I have started playing with FlexTokenizeCard API to generate the token of a card.
This is what I have done so far: I have registered myself on the VISA developer portal and I have created a Cybersource Payment project. This helped me to get a CyberSource merchant id. Using the id, I have then created a CyberSource sandbox account where I have generated a shared secret key. Using the merchant id, shared secret key id and shared secret key, I have been then using the FlexTokenizeCard API through the CyberSource sample java code.
However, whenever I try to run it, I encounter the following issue:
"status":400,"reason":"TOKENIZATION_ERROR","message":"Token not created: One or more fields in the request contain invalid data. Resend the request with the correct information."