Visa Payouts - Token validation failed

Solved! Go to solution
charliealfonso
Regular Visitor

Visa Payouts - Token validation failed

Hi guys! 

Thanks for read my problem.

 

I invoked https://sandbox.api.visa.com/vdp/helloworld sucessfully with the certificates and i got the proper message:

{
    "timestamp": "2024-06-27T15:22:11",
    "message": "helloworld"
}
 
But then i was trying to invoke this endpoint https://sandbox.api.visa.com/visapayouts/v3/payouts 

 

--header 'KeyId: x3dx2xesxxxxxxxxxxxxxxxxxxx' \
--header 'xPayToken: xv2:1719502972:faswM+4xxxxxxxxxxxxlsr4YVvkxxxxxuc=' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \      (I put my user and password in postman)
--data '{
    "encData": "xxxhflkqwhwjkhklda,etc"
 
I encrypted the message with visa server public certificate 
 
and i get :
{
    "responseStatus": {
        "status": 401,
        "code": "9212",
        "severity": "ERROR",
        "message": "Token validation failed",
        "info": ""
    }
}

 
I tried without x-pay-token but i got the same.
 
Could you help me please?
 
Thanks in advance.
Regards
Charlie
Today for me, Tomorrow for you.!
3 REPLIES 3
jenn_kh
Community Moderator

Re: Visa Payouts - Token validation failed

Hi @charliealfonsoThank you for reaching out. One of our agents will look into this get back to you soon. Until then, if any community member knows a solution, feel free to reply to this thread.

charliealfonso
Regular Visitor

Re: Visa Payouts - Token validation failed

Hi Guys!!

I could resolve it using jwe guides.

Thanks for everything.

I hope to be able to help you soon with your issues.

Have a good one!
Charlie
API_Products
Visa Developer Support Specialist

Re: Visa Payouts - Token validation failed

Hi @charliealfonso,

 

Excellent news 😀 Thanks for the update. 




Thanks,

Tee



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