Custom Account Numbers
Enabling Custom Account Numbers
To enable Custom Accounts for your account, contact our
for any queries.By default, any Customer Identifier created by you will have randomly generated numeric bank account number.
However, Razorpay Smart Collect also allows you to create custom bank accounts with customizable account numbers. This means you will be able to create Customer Identifiers that have the account number XXXXXXXXYYYYYYYY
, where the X-segment remains static, but the content of the Y-segment is within your control.
The possible options that can be set for the bank_account
receiver are given below.
The first 8 characters in your account number will remain fixed for all your generated account numbers, eg. 22233344
. This is ordinarily set to a completely numeric value for your account, but an alphanumeric value can also be set upon request, eg. RAZORPXY
.
The descriptor
field can be used to define the last eight characters of the generated bank account number.
{"receivers": {"types": ["bank_account"],"bank_account": {"descriptor": "00000001"}},"customer_id": "cust_805c8oBQdBGPwS","description": "Custom Virtual Account"}
Here in this example, a descriptor 00000001
is being used to generate an account number, while prefix 22233344
is pre-decided.
Descriptor Usage
The descriptor can have a maximum length of upto 8 characters. This is because some banks do not allow addition of beneficiary accounts that have an account number longer than 16 characters.
This descriptor
field can only be used if custom Customer Identifiers are enabled for your account. If it is not set, sending any value in the descriptor field will return an error.
{"error": {"description": "Descriptor cannot be used with your account.","code": "BAD_REQUEST_ERROR"}}
The descriptor
is required to be unique amongst your active Customer Identifiers. If a descriptor is sent, which is already in use by another active Customer Identifier, the following error is returned.
{"error": {"description": "An active Customer Identifier with the same descriptor already exists for your account.","code": "BAD_REQUEST_ERROR"}}
Avoiding Ambiguous Account Numbers
When displaying a bank account number to a customer, the font used may cause the customer to misread the alphanumeric characters (if any) in the number. This means customers are very liable to committing typos when required to enter the beneficiary account while initiating a payment. Misreading the letter 'O' in an account number as the numeral '0', for example, is extremely common.
Payments made to such mistyped accounts are considered invalid, and are refunded back to the customer's account within 1 working day. However, this is still a huge inconvenience for the customer, who now has to wait 24 hours to receive a refund for what is often a rather large payment.
For this reason, we strongly advice against using the following characters in your descriptor for alphanumeric accounts, as they may appear ambiguous in certain fonts.
0
orO
1
orI
5
orS
8
orB
2
orZ
Was this page helpful?
ON THIS PAGE