Help with x-pay-token - oken Expire
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 2017
May 2017
Help with x-pay-token - oken Expire
Hi guys,
could someone please help me? I've generated thex-pay-token with SOAPUI and tried this command but i always receive this msg that the token is Expired, what could de wrong?
curl -H "content-type: application/json" -H "x-pay-token: xv2:1493872431:805fc55c1214e7fe39180e98d53f296efe1e6c37cef417da1436bf72a7455711" "https://sandbox.api.visa.com/wallet-services-web/payment/data/1284363937413500802?apikey=B243Q0HPVEH..."
{"responseStatus":{"message":"Token Expired","status":401}}
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 2017
May 2017
Re: Help with x-pay-token - oken Expire
Few things to note while generating token:
- Please follow getting started documentation to generate a valid token.
- APIkey in the url query param should be same as the one used to generate xpayToken
- “resourcePath” sent in the xpaytoken has to be as per the documentation (eg: for keys à payments/flex/v1/keys).
- Payload sent in the request payload should exactly match along with spaces to the “requestBody” value used in xpaytoken.
Please let me know if thi sis helpful.
Thanks
Sanobar