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

Solved! Go to solution
sreera_nandan
Helper

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

I am testing Visa Direct Payout API-Send Payout [Link] in the Sandbox I had established two way SSL and MLE.

I am using the body given in the API documentation as my test data, it is giving me the error as 

{"errorResponse":{"status":400,"reason":"invalidParameter","message":"The value provided for one or more request parameters is considered invalid.","details":[{"location":"originatorDetail.bankId","message":"originator bankId is not valid","code":21052}]}}

Is it because the bankId in originatorDetail is invalid, if so how can we get a success response while sandbox testing the respective api, my input data is given bellow.

{
		"recipientDetail": {
		  "lastName": "Smith",
		  "address": {
			"country": "840",
			"city": "SFO",
			"postalCode": "100",
			"addressLine1": "address line 1",
			"addressLine2": "address line 2",
			"state": "765"
		  },
		  "contactEmail": "abc@visa.com",
		  "dateOfBirth": "1990-09-11",
		  "type": "I",
		  "payoutMethod": "B",
		  "firstName": "John",
		  "bank": {
			"branchCode": "2",
			"bankCode": "021001088",
			"bankCodeType": "ABA",
			"accountNumberType": "DEFAULT",
			"accountName": "account name",
			"countryCode": "840",
			"accountType": "1",
			"bankName": "Bank of America",
			"accountNumber": "4385878445587518",
			"BIC": "CTBAAU2S",
			"currencyCode": "840"
		  },
		  "cityOfBirth": "Austin",
		  "identificationList": [
			{
			  "idType": "D",
			  "idNumber": "123334",
			  "idIssueCountry": "840"
			}
		  ],
		  "countryOfBirth": "840",
		  "contactNumber": "123456789",
		  "additionalData": [
			{
			  "name": "TAX_REF",
			  "value": "ASR"
			}
		  ]
		},
		"senderDetail": {
		  "address": {
			"country": "840",
			"city": "Mumbai",
			"postalCode": "100",
			"addressLine1": "address line 1",
			"addressLine2": "address line 2",
			"state": "Mahrashtra"
		  },
		  "contactEmail": "def@visa.com",
		  "beneficiaryRelationship": "business partner",
		  "dateOfBirth": "1990-09-11",
		  "sourceOfFunds": "02",
		  "type": "I",
		  "senderReferenceNumber": "4304630005267011",
		  "cityOfBirth": "Austin",
		  "identificationList": [
			{
			  "idType": "D",
			  "idNumber": "123334",
			  "idIssueCountry": "840"
			}
		  ],
		  "countryOfBirth": "840",
		  "name": "John Smith",
		  "contactNumber": "120345678",
		  "additionalData": [
			{
			  "name": "TAX_REF",
			  "value": "ASR"
			}
		  ],
		  "sourceOfIncome": "business"
		},
		"originatorDetail": {
		  "paymentFacilitator": {
			"country": "840",
			"name": "test",
			"id": "123476876"
		  },
		  "bankId": "320007",
		  "originatorName": "Visa Inc. GER",
		  "address": {
			"country": "840",
			"postalCode": "12346",
			"state": "TX",
			"addressLine": "123 St."
		  },
		  "originatorBIC": "CTBAAU2S",
		  "merchantCategoryCode": "6012",
		  "bankBIC": "CTBAAU2S",
		  "originatorId": "77770"
		},
		"transactionDetail": {
		  "systemTraceAuditNumber": "325081",
		  "localTransactionDateTime": "2021-08-06T11:00:29",
		  "businessApplicationId": "FD",
		  "statementNarrative": "advance payment",
		  "purposeOfPayment": "ANN",
		  "transactionAmount": "100",
		  "transactionCurrencyCode": "840",
		  "additionalData": [
			{
			  "name": "TAX_REF",
			  "value": "ASR"
			}
		  ],
		  "retrievalReferenceNumber": "121816403394",
		  "endToEndId": "ABCD-1234-fab-578",
		  "clientReferenceId": "3187351823",
		  "payoutSpeed": "standard"
		}
	  }

 

10 REPLIES 10
jenn_kh
Community Moderator

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

Hi and welcome to the community, @sreera_nandan! Thank you for reaching out. An agent will look into this and get back to you soon. If any community member has a solution to share, please reply here! - Jenn

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

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

Hi @sreera_nandan,

 

Our tech team is currently investigating this issue and I'll get back with an update as soon as I have one. Thanks for your patience.


Best,
Stacey

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

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

A gentle reminder

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

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

Hi @sreera_nandan,

 

Our apologies for the delay in getting a working test payload for the Visa Direct Payout API. I have reached out to the product team to see if I can get a working sample but I haven't heard back yet. I chased again and hope that I can get the sample payload soon. Appreciate your patience.


Best,
Stacey

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

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

Hi @sreera_nandan,

 

I have sent you a working example payload for Visa Direct Payout API via email. Our product team is also working to get the one in the API Explorer working in the near future. Please let me know how it works for you.


Best,
Stacey

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

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

I'm experiencing the same error. Would it be possible to send me the working example payload as well, or better yet, post the payload to this thread for future reference?

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, @sam_! An agent will get back to you with more information as soon as possible. - Jenn

DianaTran-Yee
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.

DianaTran-Yee
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.