Visa Developer Community

Token validation failed (Error Code: 9209)

I am using the fund transfer API. Trying to use the same request in the reference guide. link : https://developer.visa.com/capabilities/visa_direct/reference#visa_direct__funds_transfer

 

Two-Way SSL connection was successful on the helloworld app. so i dont think there is something wrong with the userid, password or the certificates.

 

 

 

RESPONSE:

{"responseStatus": {
"status": 401,
"code": "9209",
"severity": "ERROR",
"message": "Token validation failed",
"info": ""
}}

BODY :

{
"acquirerCountryCode": "840",
"acquiringBin": "408999",
"amount": "124.02",
"businessApplicationId": "AA",
"cardAcceptor": {
"address": {
"country": "USA",
"county": "081",
"state": "CA",
"zipCode": "94404"
},
"idCode": "ABCD1234ABCD123",
"name": "Visa Inc. USA-Foster City",
"terminalId": "ABCD1234"
},
"cavv": "0700100038238906000013405823891061668252",
"foreignExchangeFeeTransaction": "11.99",
"localTransactionDateTime": "2019-08-12T11:07:21",
"retrievalReferenceNumber": "330000550000",
"senderCardExpiryDate": "2015-10",
"senderCurrencyCode": "USD",
"senderPrimaryAccountNumber": "4895142232120006",
"surcharge": "11.99",
"systemsTraceAuditNumber": "451001",
"nationalReimbursementFee": "11.22",
"cpsAuthorizationCharacteristicsIndicator": "Y",
"addressVerificationData": {
"street": "XYZ St",
"postalCode": "12345"
},
"settlementServiceIndicator": "9",
"colombiaNationalServiceData": {
"countryCodeNationalService": "170",
"nationalReimbursementFee": "20.00",
"nationalNetMiscAmountType": "A",
"nationalNetReimbursementFeeBaseAmount": "20.00",
"nationalNetMiscAmount": "10.00",
"addValueTaxReturn": "10.00",
"taxAmountConsumption": "10.00",
"addValueTaxAmount": "10.00",
"costTransactionIndicator": "0",
"emvTransactionIndicator": "1",
"nationalChargebackReason": "11"
}
}

Header :

AuthorizationBasic NE5NWkRDQktaRVpUU1lUSlFQSTgyMTJDWk4xaTBhd2pIZnVjZW1pblNfZi1lUXlhNDp0bTBTMnVmTU45akFS
Accept

application/json

5 REPLIES 5
Visa Dev Moderator

Re: Token validation failed (Error Code: 9209)

Hey @malviyaash18,

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 

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

Thanks,
Diana

Re: Token validation failed (Error Code: 9209)

2.png1.png

Header , Body, endpoint has been mentioned in the first message.

Highlighted

Re: Token validation failed (Error Code: 9209)

MLE was activated and i didn't not put the token in the payload that's y i was getting this error. Thanks

Visa Dev Moderator

Re: Token validation failed (Error Code: 9209)

Hey @malviyaash18,

 

Thanks for letting us know that your issue is resolved and how you resolve it! Have a nice day!

 

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

Thanks,
Diana

Dabbler

Re: Token validation failed (Error Code: 9209)

yu can go through all thes eguides which are using the same VISA as their primary payment portal 

parentpay login
mypepsico
mynordstrom