Re: VISA B2B Connect - Question on Validate Payment Eligibility

Solved! Go to solution
msingh
Regular Visitor

VISA B2B Connect - Question on Validate Payment Eligibility

Hi Team,

We are trying to test the Validate Payment Eligibility Webservice on the sandbox .
https://developer.visa.com/capabilities/vba/reference#tag/Payments-API/operation/Validate%20Payment%...
Could you please help us understand what is wrong with the request payload : 

Validate Payment Eligibility Request Payload : 

 

{"debtorBankBic":"HBUKGB4BXXX","settlementCurrency":"GBP","debtorAccountNumber":"GB54HBUK60161331926819","creditorAccountNumber":"GB33BUKB20201555555555","creditorBankBic":"HDFCINBBXXX"}
Response Received : 
{
    "debtorEnterpriseId""V-USA-CAD-00000067-100009039-001",
    "creditorEnterpriseId""V-CAN-CAD-00000876-100007640-001",
    "responseList": [
        {
            "reasonCode""Z021",
            "reasonDesc"" BIC for bank in header and Debtor Agent BIC do not match."
        }
    ]
}

8 REPLIES 8
cathy2981
Community Moderator

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Thank you for reaching out, @msingh ! An agent is looking for a solution for you and will get back with you shortly! If any community members know a solution, please feel free to respond in this thread. - Cathy

msingh
Regular Visitor

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Thank you Cathy.
Would it be also possible to share a working sample of request/response for Validate Payment Eligibility?

Thank You,
Mahima
I_Doroteo3
Visa Developer Support Specialist

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Hi @msingh

 

Does your debtorBankBic (debtor agent BIC) match the relationship-id in the header?

 

Please refer to the Validate Payment Eligibility API reference here.

There is also a Visa B2B Connect API reference document available for download in the link provided.

 

Thanks, 

Illana

msingh
Regular Visitor

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Hi Illana,
Thanks for your reply.
The debtorBankBic matches the relationship-id in headers .It still shows the error. I have the Visa B2B Connect API collection imported in postman .
My request payload is as follows:
{"debtorBankBic":"HBUKGB4BXXX","settlementCurrency":"GBP","debtorAccountNumber":"GB54HBUK60161331926819","creditorAccountNumber":"GB33BUKB20201555555555","creditorBankBic":"HDFCINBBXXX"}
relationship-id in header = HBUKGB4BXXX

Response:
{
"debtorEnterpriseId": "V-USA-CAD-00000067-100009039-001",
"creditorEnterpriseId": "V-CAN-CAD-00000876-100007640-001",
"responseList": [
{
"reasonCode": "Z021",
"reasonDesc": " BIC for bank in header and Debtor Agent BIC do not match."
}
]
}

Thanks,
Mahima
I_Doroteo3
Visa Developer Support Specialist

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Hi @msingh

 

Please provide the following information:

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

I'll forward your error to the technical team for further assistance.

 

Thanks,

Illana

msingh
Regular Visitor

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Hi @I_Doroteo3 ,

Please find the information below :
1) Endpoint : {{baseUrl}}/visab2bconnect/v1/payments/validateEligibility?apiKey={{apiKey}}

2) Request Header : 

relationship-id:HBUKGB4BXXX
Content-Type:application/json
Accept:application/json
x-pay-token:{{x-pay-token}}

3)Request Body : 

{"debtorBankBic":"HBUKGB4BXXX","settlementCurrency":"GBP","debtorAccountNumber":"GB54HBUK60161331926819","creditorAccountNumber":"GB33BUKB20201555555555","creditorBankBic":"HDFCINBBXXX"}

4)Response Header: 

X-CORRELATION-ID : 1679515715_455_855286758_-585d55954-2h5_VDP_WS

5) Response Body : {"debtorEnterpriseId":"V-USA-CAD-00000067-100009039-001","creditorEnterpriseId":"V-CAN-CAD-00000876-100007640-001","responseList":[{"reasonCode":"Z021","reasonDesc":" BIC for bank in header and Debtor Agent BIC do not match."}]}


Thanks,

Mahima
I_Doroteo3
Visa Developer Support Specialist

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Hi @msingh

 

Thanks for your patience. I have found another Community Forum thread that may help with your issue: https://community.developer.visa.com/t5/Sandbox-Test-Data/Unable-to-obtain-a-real-response-from-the-...

 

Please check it out and let me know if it helps.

 

Thanks, 

Illana

msingh
Regular Visitor

Re: VISA B2B Connect - Question on Validate Payment Eligibility

Hi Illana,

Thank you for your response.
I was able to get a successful response with the test data provided in the Visa Developer Sandbox.
Thanks again!
Mahima