Hi,
My question is regarding B2B Virtual Account Payment Method APIs in Sandbox environment.
I'm having issues deleting virtual account using Request Virtual Account API. According to documentation if Action is 'D' then virtual account will be deleted. The issue is documentation doesn't contain a sample of delete call.
If I don't include requisitionDetails element then server returns 'Field Validation for requisitionDetails has fail' error message and if I include requisitionDetails then I need to specify both start and end dates. When I include both start and end dates the server returns 'Field Validation for has failed, please Check the request details and fix the value in the field described in the Error Message'.
This is my request:
{
"messageId": "1694bd4943684e",
"clientId": "B2BWS....",
"buyerId": "9999",
"accountNumber": "1234567123456",
"action": "D",
"numberOfCards": "1",
"requisitionDetails": {
"startDate": "2018-05-21",
"endDate": "2018-05-21",
"timeZone": "UTC+10"
}
}
Any idea what I'm missing?
Solved! Go to Solution
Hello @sajid_ahmad,
I am currently reviewing your inquiry. I will get back to you soon.
Thank you,
Vaibhav
hello,sajid
i would kindly suggest you visit this site
https://developer.visa.com/capabilities/vpa/docs
you will see a clear picture what u have been missing ! good day
That links to Paypal website and contains no information about Visa B2B. Are you sure you accidentally didn't link to wrong site?
Hi @sajid_ahmad,
Below is the valid sample request to delete Virtual Account:
{
"messageID" : "12345678",
"clientID" : "B2BWS_1_1_9999",
"buyerID" : "9999",
"accountNumber" : "4*********",
"action" : "D"
}
Thank you,
Vaibhav
Hello @nadeemkhan,
Please let me know you question and i can assist you.
Thank you,
Vaibhav