A virtual bank account is a unique account number which is generated so you don’t need to share your sensitive bank account details with your users. A virtual bank account can be paid with ACH credit or wire transfer. Users can make payment of the amount due to this account, and the amount will be matched with the invoice.
{
"account_number": "test_544b835aab71",
"bank_name": "TEST BANK",
"created_at": 1517501395,
"customer_id": "__test__KyVnHhSBWSv7Y5F",
"deleted": false,
"email": "apple@apple.com",
"gateway": "stripe",
"gateway_account_id": "gw___test__KyVnGlSBWSv3GHt",
"id": "vba___test__KyVnHhSBWSvqH5J",
"object": "virtual_bank_account",
"reference_id": "cus_I57FgHUl6NNqeT/src_1HUx14Jv9j0DyntJqopyd9ax",
"resource_version": 1517501395000,
"routing_number": "110000000",
"scheme": "ach_credit",
"swift_code": "TSTEZ122",
"updated_at": 1517501395
}
Creates a virtual bank account using the identifier provided by the gateway.
Customer's email and virtual bank accounts will always be in sync. Email ID specified for virtual bank account creation will be considered over customers’ email ID.
curl https://{site}.chargebee.com/api/v2/virtual_bank_accounts/create_using_permanent_token \ -u {site_api_key}:\ -d customer_id="__test__KyVnHhSBWSv7Y5F" \ -d reference_id="cus_I57FgHUl6NNqeT/src_1HUx14Jv9j0DyntJqopyd9ax"
Creates a virtual bank account for a customer. Email address is mandatory for virtual bank account creation. All notifications related to this virtual bank account will be sent to the email address you specify.
Customer's email and virtual bank accounts will always be in sync.
curl https://{site}.chargebee.com/api/v2/virtual_bank_accounts \ -u {site_api_key}:\ -d customer_id="__test__KyVnHhSBWSvsr5M" \ -d email="Duncan@ac.com"
Retrieves the virtual bank account identified by the unique identifier.
curl https://{site}.chargebee.com/api/v2/virtual_bank_accounts/vba___test__KyVnHhSBWSxD05c \ -u {site_api_key}:
Lists all the virtual bank accounts.
curl https://{site}.chargebee.com/api/v2/virtual_bank_accounts \ -G \ -u {site_api_key}:\ --data-urlencode limit=5
Deletes a virtual bank account. If there is no virtual bank account present in the gateway for the customer, this API will return successfully without throwing an error.
curl https://{site}.chargebee.com/api/v2/virtual_bank_accounts/vba___test__KyVnHhSBWSwNX5S/delete \ -X POST \ -u {site_api_key}:
Deletes virtual bank accounts from Chargebee. Payment method in the payment gateway, and Auto Collection settings in Chargebee are not affected.
curl https://{site}.chargebee.com/api/v2/virtual_bank_accounts/vba___test__KyVnHhSBWSwuP5X/delete_local \ -X POST \ -u {site_api_key}: