Fetch a Product Configuration
GET/v2/accounts/:account_id/products/:product_idClick to copy
Use this endpoint to fetch a product configuration.
Is this page helpful?
Path Parameters
account_id *
string The unique identifier of an account generated by Razorpay. For example, acc_HQVlm3bnPmccC0.
product_id *
string The unique identifier of a product generated by Razorpay. For example, acc_prd_HEgNpywUFctQ9e.
Response Parameters
requested_configurationobjectThe configuration of the product requested by the user that is yet to be set as active.
active_configurationobjectThe configuration of the product that has been set as active.
Show child parameters (1)
requirementsobjectThe list of requirements to be enabled for this product or some of the configurations under this product.
Errors
The provided product config id doesn't exist for the merchant.
Error Status: 400
This error occurs when the provided product configuration does not belong to the Linked Account.
Solution
Fetch a Product Configuration
GET/v2/accounts/:account_id/products/:product_idClick to copy
Use this endpoint to fetch a product configuration.
Is this page helpful?
Path Parameters
account_id *
string The unique identifier of an account generated by Razorpay. For example, acc_HQVlm3bnPmccC0.
product_id *
string The unique identifier of a product generated by Razorpay. For example, acc_prd_HEgNpywUFctQ9e.
Response Parameters
requested_configurationobjectThe configuration of the product requested by the user that is yet to be set as active.
active_configurationobjectThe configuration of the product that has been set as active.
Show child parameters (1)
requirementsobjectThe list of requirements to be enabled for this product or some of the configurations under this product.
Errors
The provided product config id doesn't exist for the merchant.
Error Status: 400
This error occurs when the provided product configuration does not belong to the Linked Account.
Solution