Re: Visa Direct Payouts Pull Api Error

Solved! Go to solution
OsmanDeniz
Regular Visitor

Visa Direct Payouts Pull Api Error

Hello, The following error is returned from the API in the Sandbox environment.
This example of Visa Direct Connect API Reference
Example : Send payout Cards Pull
Request:

 

 

{
  "recipientDetail": {
    "lastName": "Alba",
    "firstName": "Jessica",
    "address": {
      "country": "USA",
      "city": "Florida",
      "postalCode": "33634",
      "addressLine1": "2 Marcus Clarke St,"
    },
    "dateOfBirth": "2001-01-01",
    "type": "I"
  },
  "senderDetail": {
    "senderReferenceNumber": "A42434234S324234",
    "lastName": "Smith",
    "firstName": "John",
    "address": {
      "country": "USA",
      "city": "Camden",
      "postalCode": "15205",
      "addressLine1": "4616 Stuart Street",
      "addressLine2": "Lane 1",
      "state": "NJ"
    },
    "dateOfBirth": "1989-04-22",
    "type": "I",
    "card": {
      "accountType": "00",
      "accountNumber": "4005520000011126",
      "expirationDate": "2027-03"
    }
  },
  "payoutMethod": "C",
  "transactionDetail": {
    "surcharge": "1",
    "initiatingPartyId": "1002",
    "localTransactionDateTime": "2024-11-05T11:26:12",
    "businessApplicationId": "PP",
    "purposeOfPayment": "Remittance",
    "transactionAmount": 100.21,
    "transactionCurrencyCode": "USD",
    "clientReferenceId": "64433575113"
  }
}

 

 


Response

 

 

[
    {
        "status": 400,
        "reason": "invalidPayoutRequest",
        "details": [
            {
                "message": "There is an issue with the data of this transaction and it cannot be processed",
                "code": 99999
            }
        ]
    }
]

 

 


ResponseHeader

 

 

Status Code: 400 
Server : nginx
Date : Tue, 05 Nov 2024 08:24:53 GMT
Content-Type : application/json
Content-Length : 731
Connection : keep-alive
X-SERVED-BY : -65f484f84-4
X-CORRELATION-ID : 1730795093_064_1198466436_-65f484f84-4_VDP_WS
X-ERROR-ORIGIN : 9900
X-APP-STATUS : 400
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;
Strict-Transport-Security : max-age=31536000;includeSubdomains

 

 

2 REPLIES 2
SyedSa
Community Moderator

Re: Visa Direct Payouts Pull Api Error

Hi @OsmanDeniz, Thank you for reaching out. An agent will look into this and get back to you soon. Until then, if any community member knows a solution, feel free to reply in this thread. 

OsmanDeniz
Regular Visitor

Re: Visa Direct Payouts Pull Api Error

Solution:

Delete the ClientRef Id in the request and it will work.


Example:

{
  "payoutMethod": "C",
  "senderDetail": {
    "type": "I",
    "address": {
      "addressLine1": "4616 Stuart Street",
      "addressLine2": "Lane 1",
      "city": "Camden",
      "country": "USA",
      "postalCode": "15205",
      "state": "NJ"
    },
    "card": {
      "accountNumber": "4005520000011126",
      "accountType": "00",
      "expirationDate": "2027-03"
    },
    "dateOfBirth": "1989-04-22",
    "firstName": "John",
    "lastName": "Smith",
    "senderReferenceNumber": "6312879908806114"
  },
  "transactionDetail": {
    "businessApplicationId": "PP",
    "initiatingPartyId": "1002",
    "localTransactionDateTime": "2024-11-09T11:12:41",
    "transactionAmount": 100.21,
    "transactionCurrencyCode": "USD",
    "purposeOfPayment": "Remittance",
    "surcharge": "1"
  },
  "recipientDetail": {
    "type": "I",
    "address": {
      "addressLine1": "2 Marcus Clarke St",
      "city": "Florida",
      "country": "USA",
      "postalCode": "33634"
    },
    "dateOfBirth": "2001-01-01",
    "firstName": "Jessica",
    "lastName": "Alba"
  }
}

_________Response_________
{
  "validationResultCode": "INVALID",
  "validationDetails": [
    {
      "reason": "Card Validation",
      "details": [
        {
          "message": "Card validation failed"
        }
      ]
    }
  ]
}