Re: xPay token creation for GET request (without body)

vlad
Occasional Visitor

xPay token creation for GET request (without body)

Hi,  

do you have example of the code which produces xPay token for GET request without body?   I tried existing examples for POST with body, but it is not generating correct token.

 

Related endpoint: 

TokenInquiry request

GET /TokenEnquiry endpoint 

 

Regards,

Vlad

5 REPLIES 5
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: xPay token creation for GET request (without body)

Hi @vlad,

 

Can you please share the API endpoint? I am unable to access your project via the link. Thanks.


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
vlad
Occasional Visitor
vlad
Occasional Visitor

Re: xPay token creation for GET request (without body)

Hi,

any more details needed ? - i have shared endpoint above

 

Thanks,

Vlad

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: xPay token creation for GET request (without body)

Hi @vlad,

 

Thank you for sharing the link to the Visa Token Service Provisioning and Lifecycle Management Token Inquiry API reference page. This is currently a restricted product on Visa Developer. In this case I recommend working with your Visa Account Manager on the integrations.

 

Can you please email developer@visa.com and let us know your project name, and which countries you will be using the API for? I can check internally to see who can assist you further on your Visa Token Service questions. Thanks.

 


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
snehashanu
Regular Visitor

Re: xPay token creation for GET request (without body)

Please follow this link: https://developer.visa.com/pages/working-with-visa-apis/x-pay-token 

it demonstrates an example of xpaytoken generation for Get request - helloworld

 

Sample Header

    GET /vdp/helloworld?apikey=KSKDFJOP934ALSFDJP34 HTTP/1.0
    Host: sandbox.api.visa.com
    Accept: application/json
    X-PAY-TOKEN: xv2:1455716783:f5d15ed23f825ac69cd42e6fa187a175ecf7e9566ce4f21e11bad49bed4cc363