Request a Product Configuration
POST/v2/accounts/:account_id/productsClick to copy
Use this endpoint to request a product configuration.
Is this page helpful?
Path Parameters
account_idstring The unique identifier of the account generated by Razorpay. For example, acc_HQVlm3bnPmccC0. This id is used to fetch or update a product. The product is created for this account id.
Request Parameters
product_name *
string The product(s) to be configured. Here it is route.
tnc_accepted booleanDetermines whether the terms and conditions are accepted or not. Possible values:
true: Terms and conditions are accepted.false: Terms and conditions are not accepted.
Response Parameters
idstringThe unique identifier of a product generated by Razorpay. This id is used to fetch or update a product.
product_namestringThe product(s) to be configured. Possible values:
Route
tnc_acceptedobjectIt consists of the configuration for the accepted terms and conditions by the merchant for the requested product. If the terms and conditions are accepted by the user for the requested product, it would consist of following fields:
Show child parameters (3)
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.
Show child parameters (4)
idstring The unique identifier of the account generated by Razorpay. For example, acc_prd_K1eopFF8G21tux. The product is created for this account id.
account_idstring The unique identifier generated by Razorpay. For example, acc_K1em7bWYEiwmnc.
activation_statusstringThe status of the product activation.
requestedneeds_clarificationunder_reviewactivatedsuspended
requested_atintegerThe Unix timestamp at which the product configuration has been requested.
Errors
Linked account does not exist.
Error Status: 400
This error occurs when the requester is not the parent of the child account, or the child account does not exist.
Solution
The product requested is invalid.
Error Status: 400
This error occurs when the provided data is invalid.
Solution
The selected tnc accepted is invalid.
Error Status: 400
This error occurs when the tnc.accepted value is false.
Solution
Request a Product Configuration
POST/v2/accounts/:account_id/productsClick to copy
Use this endpoint to request a product configuration.
Is this page helpful?
Path Parameters
account_idstring The unique identifier of the account generated by Razorpay. For example, acc_HQVlm3bnPmccC0. This id is used to fetch or update a product. The product is created for this account id.
Request Parameters
product_name *
string The product(s) to be configured. Here it is route.
tnc_accepted booleanDetermines whether the terms and conditions are accepted or not. Possible values:
true: Terms and conditions are accepted.false: Terms and conditions are not accepted.
Response Parameters
idstringThe unique identifier of a product generated by Razorpay. This id is used to fetch or update a product.
product_namestringThe product(s) to be configured. Possible values:
Route
tnc_acceptedobjectIt consists of the configuration for the accepted terms and conditions by the merchant for the requested product. If the terms and conditions are accepted by the user for the requested product, it would consist of following fields:
Show child parameters (3)
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.
Show child parameters (4)
idstring The unique identifier of the account generated by Razorpay. For example, acc_prd_K1eopFF8G21tux. The product is created for this account id.
account_idstring The unique identifier generated by Razorpay. For example, acc_K1em7bWYEiwmnc.
activation_statusstringThe status of the product activation.
requestedneeds_clarificationunder_reviewactivatedsuspended
requested_atintegerThe Unix timestamp at which the product configuration has been requested.
Errors
Linked account does not exist.
Error Status: 400
This error occurs when the requester is not the parent of the child account, or the child account does not exist.
Solution
The product requested is invalid.
Error Status: 400
This error occurs when the provided data is invalid.
Solution
The selected tnc accepted is invalid.
Error Status: 400
This error occurs when the tnc.accepted value is false.
Solution