> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Account

> You can use the Account APIs to create a sub-merchant account. After an account gets created, an `account_id` is assigned. Check the [account activation flow and states](/partne...

You can use the Account APIs to create a sub-merchant account. After an account gets created, an `account_id` is assigned. Check the [account activation flow and states](/partners/aggregators/onboarding-api#account-activation).

Fork the Razorpay Postman Public Workspace and try the Account APIs using your [Test API Keys](/api/authentication#generate-api-keys).

[](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-51a4958d-ae00-4717-9ec4-64cb7c1bf7fb)

### Related Guides

[Sub-merchant Onboarding APIs](/partners/aggregators/onboarding-api)
[Set Up Webhooks](/partners/aggregators/onboarding-api/webhooks)
[Webhook Payloads](/webhooks/partners)

### Endpoints

* **post** `/v2/accounts` - Create an Account:
  Creates a sub-merchant account.

* **get** `/v2/accounts/:account_id` - Fetch an Account:
  Retrieves the details of an account.

* **patch** `/v2/accounts/:account_id` - Update an Account:
  Updates an account for different product activation statuses.

* **delete** `/v2/accounts/:account_id` - Delete an Account:
  Deletes a sub-merchant account.
