Account APIs [beta]

Create accounts directly from your website/ app using Razorpay Account APIs.


Account APIs let you dynamically create accounts with Razorpay directly from your website/app to set a fully-functional payment ecosystem up and running quickly. Our APIs use basic auth as authentication. Refer the

section to know more.

You can perform the following operations with the Account APIs:

The account entity has the following fields.

name

string Name of the account holder.

email

string Email address of the account holder.

tnc_accepted

boolean Indicates if the

have been accepted or not.

business_name

string Your company name.

business_type

string Business type. Possible values:

  • llp
  • ngo
  • other
  • individual
  • partnership
  • proprietorship
  • public_limited
  • private_limited
  • trust, society
  • not_yet_registered
  • educational_institutes

ifsc_code

string The ifsc code of your bank account.

beneficiary_name

string Name of the bank account holder.

account number

mandatory

string. The bank account number.

account_type

string The bank account type. For example, Current.

id

string Razorpay account ID. For example acc_gHQwerty123ggd.

live

boolean Indicates if an account is live or not.

managed

boolean Indicates if it is a Linked Account or not.

status

string Indicates the status of an account. Possible values:

  • activated
  • not_activated
  • verification_failed (penny testing enabled)
  • verification_pending (penny testing enabled)

can_submit

boolean Indicates if the activation fields have been filled up or not.

fields_pending

array Lists all the pending fields for activating the account.

transaction_report_email

array List of emails to which the transaction email report will be sent.

mobile

integer Company mobile number.

landline

integer Company landline number.

business_models

string The type of the business modes. Can accept these values: B2B or B2C or B2B+B2C.

registered_address

The registered address of the company.

address

string The registered company address, at the time of account creation.

city

string The name of the city in your business address.

state

string The name of the state in your business address.

pin

integer The pin code of the area in your business address.

operational_address

The operational address of the company.

address

string. The current operational address of the company.

city

string. The name of the city in your operational address.

state

string. The name of the state in your operational address.

pin

string. The pin code of the area in your operational address.

date_establishment

integer Date of establishment.

transaction_volume

string Expected annual transaction volume (INR).

average_transaction_size

integer Expected average transaction value.

cin

string Company CIN.

gstin

string GST Identification Number.

p_gstin

string Provisional GST Identification Number.

pan

string Company PAN.

pan_name

string Name of the account holder in PAN card.

promoter_pan

string PAN of any 1 authorized signatory/promoter/director.

promoter_pan_name

string Name on the promoter's PAN Card.

notes

object A key-value store present with every Razorpay entity like Account, Payment, Refund, etc. You can use this for storing additional data relating to the entity in a structured format. Refer

to learn more.

destination

string The Id of the bank account entity created. For example, ba_gHQwerty123ggd

Use the following endpoint to create an account.

POST
beta/accounts

Handy Tips

All JSON input fields in the request are mandatory.

Given below is a list of possible errors you may face while creating a Linked Account.

The below API is used for fetching the details of all the accounts.

GET
beta/accounts

The below API creates a Razorpay merchant account.


The below API is used for fetching details of an account by ID.

GET
beta/accounts/:id

The below API fetches the details of a Razorpay merchant account.


Was this page helpful?