When I run the flex token payment example i.e.
node Samples/Payments/Payments/payment-with-flex-token.js
I get the following error in the response:
\"Declined - One or more fields in the request contains invalid data\",\"details\":[{\"field\":\"tokenInformation.jti\",\"reason\":\"INVALID_DATA\"
As these examples are supposed to be self-contained I expected this to work. Does anyone know what the issue is? I did try adding the jti value which you can obtain from the decoded JWT token but this didn't fix the issue.
Also note that the exact same problem applies to the payment-with-flex-token-create-permanent-tms-token.js example.