> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Product Configuration APIs

> Use the Product Configuration APIs to enable sub-merchants request for a product.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
  <span>🇸🇬 Singapore</span>
</div>

You can use the Product Configuration APIs to configure and activate Razorpay products for a sub-merchant account according to their requirements. For example, if you need our Payment Gateway product for all sub-merchants or Payment Gateway for one sub-merchant and Payment Link product for another sub-merchant, you can do so using this API.

<br />

You can even accept terms and conditions for the requested product using these APIs. You can fetch the terms and conditions using the [Fetch Terms and Conditions API](/docs/api/partners/terms-conditions/fetch).

<br />

The products Payment Links and Payment Gateway have similar requirements. If a requirement is submitted through a product configuration for `payment_gateway`, the same will be applicable for `payment_links`, and vice versa.

<br />

Fork the Razorpay Postman Public Workspace and try the Product Configuration APIs using your [Test API Keys](/docs/partners/aggregators/onboarding-api#api-authentication).

<a href="https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-07bc4970-f967-4020-922f-8adb7ea407e8" target="_blank">![Run in Postman](https://run.pstmn.io/button.svg)</a>

<CardGroup cols={2}>
  <Card title="Request a Product Configuration" href="/docs/api/partners/product-configuration/request">
    `POST` `/v2/accounts/:account_id/products`

    Requests a product configuration for Payment Gateway and Payment Links.
  </Card>

  <Card title="Fetch a Product Configuration" href="/docs/api/partners/product-configuration/fetch">
    `GET` `/v2/accounts/:account_id/products/:product_id`

    Retrieves the details of an account.
  </Card>

  <Card title="Update Settlement Account Details" href="/docs/api/partners/product-configuration/update-settlement-account-details">
    `PATCH` `/v2/accounts/:account_id/products/:product_id`

    Updates settlement account details.
  </Card>

  <Card title="Request Payment Methods" href="/docs/api/partners/product-configuration/update-request-payment-methods">
    `PATCH` `/v2/accounts/:account_id/products/:product_id`

    Requests Payment Methods.
  </Card>
</CardGroup>

## Related Guides

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