Re: Deleting Virtual Account

Solved! Go to solution
sajid_ahmad
Regular Visitor

Deleting Virtual Account

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?

5 REPLIES 5
vkamboj
Community Moderator

Re: Deleting Virtual Account

Hello @sajid_ahmad

 

I am currently reviewing your inquiry. I will get back to you soon. 

 

Thank you, 

Vaibhav 

 

 

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

Re: Deleting Virtual Account

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

sajid_ahmad
Regular Visitor

Re: Deleting Virtual Account

That links to Paypal website and contains no information about Visa B2B. Are you sure you accidentally didn't link to wrong site?

vkamboj
Community Moderator

Re: Deleting Virtual Account

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 

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

Re: Deleting Virtual Account

Hello @nadeemkhan

 

Please let me know you question and i can assist you.

 

Thank you, 

Vaibhav 

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