ChargebeeAPI
Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now

Create a virtual bank account using permanent token

Idempotency Supported
Try in API Explorer

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.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/virtual_bank_accounts/create_using_permanent_token

Input Parameters

customer_id
required, string, max chars=50

Identifier of the customer.

reference_id
required, string, max chars=150

Identifier provided by the gateway for the virtual bank account source. In case of Stripe, the reference_id consists of a combination of Stripe Customer ID and Stripe Source ID separated by a forward slash (e.g. cus_63MnDn0t6kfDW7/src_6WjCF20vT9WN1G).

gateway_account_id
optional, string, max chars=50
scheme
optional, enumerated string, default=ach_credit

type of the credit transfer.

Possible Enum Values
ach_credit

ACH Credit Transfer

This scheme is deprecated. Instead of ach_credit use us_automated_bank_transfer .

sepa_credit

SEPA Credit Transfer

This scheme is deprecated. Instead of sepa_credit use eu_automated_bank_transfer .

us_automated_bank_transfer

US Automated Bank Transfer

gb_automated_bank_transfer

UK Automated Bank Transfer

eu_automated_bank_transfer

EU Automated Bank Transfer

jp_automated_bank_transfer

JP Automated Bank Transfer

mx_automated_bank_transfer

MX Automated Bank Transfer

Returns

virtual_bank_accountVirtual bank account object
Resource object representing virtual_bank_account
customerCustomer object
Resource object representing customer