Value provided for one or more request parameters is considered invalid in visa direct payout api

Solved! Go to solution
API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @tinoran,

 

We're happy to help. To investigate the error, please provide the information below.

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

You can find the x-correlation-id in the response header.

 




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @tinoran,

 

I've logged incident INC16890627 for the engineering team to investigate. Please provide x-correlation-id for the engineering team. 




Thanks,

Diana



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

tinoran
Regular Visitor

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hello @API_Products ,

I am testing the visa direct payout api with the send payout v3 endpoint:

https://sandbox.api.visa.com/visapayouts/v3/payouts

 

With the following payload:

{
"recipientDetail": {
"lastName": "smith",
"firstName": "Jessica",
"bank": {
"bankCode": "800554",
"bankCodeType": "SORT_CODE",
"accountNumberType": "DEFAULT",
"accountName": "Money Market",
"countryCode": "GBR",
"bankName": "Barclays",
"accountNumber": "6970093",
"currencyCode": "GBP"
},
"address": {
"country": "GBR",
"city": "London",
"postalCode": "675456",
"addressLine1": "123 Main St",
"state": "CF"
},
"type": "I"
},
"senderDetail": {
"address": {
"country": "USA",
"city": "Washington",
"addressLine1": "addressline1"
},
"name": "Ben",
"type": "C",
"senderAccountNumber": "senderAccountNumber"
},
"payoutMethod": "B",
"transactionDetail": {
"initiatingPartyId": 1002,
"businessApplicationId": "FD",
"statementNarrative": "advancepayment",
"transactionAmount": 1.5,
"transactionCurrencyCode": "GBP",
"settlementCurrencyCode": "GBP",
"clientReferenceId": "888852397088",
"senderSourceOfFunds": "01"
}
}

 

And the decrypted response is as follows:

[{"status":400,"reason":"Bad Request","message":"The request contains duplicate or invalid value for properties","details":[]}]

 

If you can tell me what's the problem, that would really help me a lot, thank you very much.

 

API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @tinoran,

 

Please provide the x-correlation-id so that our engineering team can investigate the error. 




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @tinoran,

 

It appears that the Visa Payouts API product is no longer available, hence, that'd be the reason for the error. For a list of available API products, please browse all documentation here. Please let me know of any questions. 




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @sam_ ,

 

To investigate the error, please provide the information below.

 

1. Endpoint
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.




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @sam_ ,

 

Please answer the questions that I have asked of you in my previous community forum reply to you.




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Hi @sam_ ,

 

I haven't receive a reply from you, hence, I'll take you off my contact list. Feel free to let us know if you have questions or need help.




Thanks,

Diana



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

piper
New Contributor

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Will you please check, why i getting those error

 

[HTTP Status: 400] [HTTP/1.1 400 Bad Request Server: nginx Date: Sat, 06 Aug 2022 07:45:19 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 888 Connection: keep-alive X-SERVED-BY: c6795c5n8 X-CORRELATION-ID: 1659771918_972_1743674286_c6795c5n8_VDP_WS X-ERROR-ORIGIN: 9900 X-APP-STATUS: 400 encrypted: true Content-Language: en-US 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

{"encData":"eyJjdHkiOiJhcHBsaWNhdGlvblwvanNvbjtjaGFyc2V0PVVURi04IiwiZW5jIjoiQTEyOEdDTSIsImlhdCI6MTY1OTc3MTkxOTY4NCwiYWxnIjoiUlNBLU9BRVAtMjU2In0.kyaq8G3X1fiTjnU4FDNv_wAd2qIBEqbNX5Z-8X18XNAOke4vpRE07q9p_L6Uy6bQOQIzlZjxeRrBcRoWOCdf13cz_LRUB4RjAkLQr6meGv8OToNzN3flvfVFD_Z88K1c7KDDxtpMinQoJdI8czNP-TzRV7SXNIe9PyDYKmfNQV-hVmR70ghuISe09KH7VZ72IccORTb1xfC2wvDLtqrqZa-KsitCdTagHuyTAFieFkvTHUu4W5xWIcYfCMHQEdYCxqRzSXOrNWGOkQT5Qsbz9zWCIivYe7rKmkRPmNPd7j8Ojh1ZtA536gaHcpeKCB1S7BC8i9BJBFSiFBXAA1SQwg.BmiMhISlHJ5LjMQ9.nSBepzQYXsGIu914Ht1PDMbJ140f1-9k03aYzeg4vGU8jgkwcoDcXHI6xXpUDNXat8jYBYrTGsuqbS6HlU4UEy1OoIEYnbKBPxs0792GR9g_1hygX8xK3ulGvBSUfCnb2bfLcSkqHlgFhcwXV3VJLh1CCnfz_eYg_FMDX99arevJfnM5jBncYdrZ2pa0xMF6IYkyapsp8w2lSfiBS5uZvUmHfTvxdGwzqEtjEUENwXh0-aTtQUSe-HiHC19LIFt1xXA6SVAJ1RjCHv7Sb9Pg-VBa-fFA9YogA6AeySXB7WvlXqLuQYWWEeG9oZ3hJ-vbv4huhPJuCjaFScoRkIRrp6fcySRctzM6YplIPW0.wVnO-VpWcVVuqEZuEyhLYA"}]

Error connecting to the API (https://sandbox.api.visa.com/visapayouts/v2/payouts)

"{"errorResponse":{"status":400,"reason":"invalidBankParameter","message":"Bank Request has invalid Parameter","details":[{"location":"transactionDetail.retrievalReferenceNumber","message":"transactionDetail retrievalReferenceNumber has invalid content","code":31051}]}}"

 

 

jenn_kh
Community Moderator

Re: Value provided for one or more request parameters is considered invalid in visa direct payout ap

Thank you for reaching out, @piper! One of our agents will look into this and get back to you soon. If anyone else has any ideas you feel may help, you're welcome to share them here. -Jenn