Re: Error using Visa Direct PullFundsTransactions api

Windy
Regular Visitor

Error using Visa Direct PullFundsTransactions api

Hi,

 

I am having trouble calling the PullFundsTransactions POST API. It is giving me this error message,

{
  "responseStatus": {
    "code": "9501",
    "info": "",
    "message": "Invalid input found, please correct the input data",
    "severity": "ERROR",
    "status": "400"
  }
}
 
Here are my inputs:
 
 headers = {'Authorization' : f'Bearer {api_key}'}
    data = {
            "acquirerCountryCode""608",
            "acquiringBin""400171",
            "amount""100",
            "businessApplicationId""AA",
            "cardAcceptor": {
                "address": {
                    "state""CA",
                    "zipCode":"94404",
                    "county""00",
                    "country""USA"},
                "idCode""ABCD1234ABCD123",
                "name""Visa Inc. USA-Foster City",
                "terminalId""ABCD1234"
            },
            "localTransactionDateTime""2020-03-23T10:51:39",
            "retrievalReferenceNumber""330000550000",
            "senderCardExpiryDate""2020-03",
            "senderCurrencyCode""USD",
            "senderPrimaryAccountNumber""4957030005123304",
            "systemsTraceAuditNumber""451001"}

                        headers=headers, data=data).json()
 
Any help would be appreciated
2 REPLIES 2
API_Managers
Visa Developer Support Specialist

Re: Error using Visa Direct PullFundsTransactions api

Hey @Windy,

 

Please refer to our Visa Developer Error Codes page to help resolve the issue here -  https://developer.visa.com/pages/visa-developer-error-codes

 

HTTP STATUS: BAD REQUEST

HTTP CODE: 400

 

CAUSE/RESOLUTION: 

 

This error could be due to a variety of reasons.

Check for the following:

  • The url has a space after the ?.
  • Whitespace issues, in general, anywhere in the url.
  • Ideally the following fields need to be checked for correctness:
    • URL
    • Query params

Or

 

  • The API endpoint you are trying to use only supports Two-Way SSL authentication. Please ensure you are not using any other token type.

Or

  • Invalid input found in the request payload.



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.

Windy
Regular Visitor

Re: Error using Visa Direct PullFundsTransactions api

Thanks for the reply. But still unable to make it work. Will keep trying