Re: Funds Transfer API sandbox not work

Solved! Go to solution
alex3
Regular Visitor

API Validation Error: 3001. Invalid PAN or TOKEN.

Since 24.02.13  Create Pull Funds Transaction on https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pullfundstransactions returns error: API Validation Error: 3001. Invalid PAN or TOKEN.

I tried all 3 example from https://developer.visa.com/capabilities/visa_direct/reference#tag/Funds-Transfer-API/operation/creat..., all 3 cards from examples produce this error. Before 24.02.13 this error not reproduced

5 REPLIES 5
jenn_kh
Community Moderator

Re: API Validation Error: 3001. Invalid PAN or TOKEN.

Hi @alex3, Thank you for reaching out! One of our agents is looking into this and will get back to you soon. Until then, if any community members know a solution, feel free reply to this thread.

alex3
Regular Visitor

Funds Transfer API sandbox not work

On page https://developer.visa.com/capabilities/visa_direct/reference#tag/Funds-Transfer-API/operation/creat... I select Create Pull Funds Transaction and press button Try it. In provided example I only change localTransactionDateTime for passing validation. In response I always get error 404 

{

  • "errorMessage": "API Validation Error: 3001. Invalid PAN or TOKEN."

}

Same result for all three examples. This error reproduced since beginning of week and blocked my work because I can`t test  my application. Any correct input data previously produced success result now throw this error. Maybe somebody knows card numbers with which this api will be work?

 

 

Example of request 

https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pullfundstransactions

{
"surcharge": "11.99",
"amount": "124.02",
"localTransactionDateTime": "2024-02-14T12:00:00",
"cpsAuthorizationCharacteristicsIndicator": "Y",
"riskAssessmentData": {
"traExemptionIndicator": true,
"trustedMerchantExemptionIndicator": true,
"scpExemptionIndicator": true,
"delegatedAuthenticationIndicator": true,
"lowValueExemptionIndicator": true
},
"colombiaNationalServiceData": {
"addValueTaxReturn": "10.00",
"taxAmountConsumption": "10.00",
"nationalNetReimbursementFeeBaseAmount": "20.00",
"addValueTaxAmount": "10.00",
"nationalNetMiscAmount": "10.00",
"countryCodeNationalService": "170",
"nationalChargebackReason": "11",
"emvTransactionIndicator": "1",
"nationalNetMiscAmountType": "A",
"costTransactionIndicator": "0",
"nationalReimbursementFee": "20.00"
},
"cardAcceptor": {
"address": {
"country": "USA",
"zipCode": "94404",
"county": "081",
"state": "CA"
},
"idCode": "ABCD1234ABCD123",
"name": "Visa Inc. USA-Foster City",
"terminalId": "ABCD1234"
},
"acquirerCountryCode": "840",
"acquiringBin": "408999",
"senderCurrencyCode": "USD",
"retrievalReferenceNumber": "330000560021",
"addressVerificationData": {
"street": "XYZ St",
"postalCode": "12345"
},
"cavv": "0700100038238906000013405823891061668252",
"systemsTraceAuditNumber": "452011",
"businessApplicationId": "AA",
"senderPrimaryAccountNumber": "4060320000000127",
"settlementServiceIndicator": "9",
"visaMerchantIdentifier": "73625198",
"foreignExchangeFeeTransaction": "11.99",
"senderCardExpiryDate": "2023-10",
"nationalReimbursementFee": "11.22"
}

arnoldmukisa
New Contributor

Re: Funds Transfer API sandbox not work

I am running into this as well. Has there been a resolution?

API_Products
Visa Developer Support Specialist

Re: Funds Transfer API sandbox not work

Hi @arnoldmukisa and @alex3,

 

 I ran a sandbox test today and the API call generated a successful request and response payload. Please see my successful request/response payload below and try your test again. In the request, have the "localTransactionDateTime" match the Response Header Date to see if that works.

 

End Point https://sandbox.api.visa.com/visadirect/v1/transactionquery?acquiringBIN=408999&transactionIdentifie...
Method GET
Request
{
"surcharge": "11.99",
"amount": "124.02",
"localTransactionDateTime": "2024-02-26T19:14:56",
"cpsAuthorizationCharacteristicsIndicator": "Y",
"colombiaNationalServiceData": {
"addValueTaxReturn": "10.00",
"taxAmountConsumption": "10.00",
"nationalNetReimbursementFeeBaseAmount": "20.00",
"addValueTaxAmount": "10.00",
"nationalNetMiscAmount": "10.00",
"countryCodeNationalService": "170",
"nationalChargebackReason": "11",
"emvTransactionIndicator": "1",
"nationalNetMiscAmountType": "A",
"nationalReimbursementFee": "20.00",
"costTransactionIndicator": "0"
},
"riskAssessmentData": {
"traExemptionIndicator": true,
"trustedMerchantExemptionIndicator": true,
"scpExemptionIndicator": true,
"delegatedAuthenticationIndicator": true,
"lowValueExemptionIndicator": true
},
"cardAcceptor": {
"address": {
"country": "USA",
"zipCode": "94404",
"county": "081",
"state": "CA"
},
"idCode": "ABCD1234ABCD123",
"name": "Visa Inc. USA-Foster City",
"terminalId": "ABCD1234"
},
"acquirerCountryCode": "840",
"acquiringBin": "408999",
"retrievalReferenceNumber": "330000550000",
"senderCurrencyCode": "USD",
"addressVerificationData": {
"street": "XYZ St",
"postalCode": "12345"
},
"cavv": "0700100038238906000013405823891061668252",
"systemsTraceAuditNumber": "451001",
"businessApplicationId": "AA",
"senderPrimaryAccountNumber": "4895142232120006",
"settlementServiceIndicator": "9",
"visaMerchantIdentifier": "73625198",
"foreignExchangeFeeTransaction": "11.99",
"senderCardExpiryDate": "2015-10",
"nationalReimbursementFee": "11.22"
}
Response
[{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"401010350420","transactionDate":"29-10-2023","transactionTime":"00:01:24","responseCode":"5","systemsTraceAuditNumber":"350420","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330200500318","transactionDate":"29-10-2023","transactionTime":"00:23:22","responseCode":"5","systemsTraceAuditNumber":"400318","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330200801270","transactionDate":"29-10-2023","transactionTime":"00:53:21","responseCode":"5","systemsTraceAuditNumber":"801270","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303135","transactionDate":"29-10-2023","transactionTime":"05:55:16","responseCode":"5","systemsTraceAuditNumber":"303135","transactionType":"CRED VOUCHER","actionCode":"05","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303138","transactionDate":"29-10-2023","transactionTime":"05:55:16","responseCode":"5","systemsTraceAuditNumber":"303138","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303144","transactionDate":"29-10-2023","transactionTime":"05:55:18","responseCode":"5","systemsTraceAuditNumber":"303144","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303146","transactionDate":"29-10-2023","transactionTime":"05:55:20","responseCode":"5","systemsTraceAuditNumber":"303146","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303147","transactionDate":"29-10-2023","transactionTime":"05:55:21","responseCode":"5","systemsTraceAuditNumber":"303147","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303184","transactionDate":"29-10-2023","transactionTime":"05:57:56","responseCode":"5","systemsTraceAuditNumber":"303184","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"},{"approvalCode":"21324K","transactionIdentifier":"234234322342343","acquiringBin":"408999","retrievalReferenceNumber":"330205303186","transactionDate":"29-10-2023","transactionTime":"05:58:13","responseCode":"5","systemsTraceAuditNumber":"303186","transactionType":"CRED VOUCHER","actionCode":"00","statusCode":"COMPLETED"}]
Response Header
Status Code: 200
Server : nginx
Date : Mon, 26 Feb 2024 23:08:26 GMT
Content-Type : application/json
Content-Length : 4823
Connection : keep-alive
X-SERVED-BY : -6c47-79x5
X-CORRELATION-ID : 1708988901_781_1631575605_-6c47-79x5_VDP_WS
X-APP-STATUS : 200
X-Pagination : true
X-Count : 32712
encrypted : true
Cache-Control : no-cache, no-store, must-revalidate
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 0
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains
Pragma : no-cache
Expires : -1
Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 




Thanks,

Diana H.



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

alex3
Regular Visitor

Re: Funds Transfer API sandbox not work

Hi @diana
Yes, now it works. Thanks!