API Test keys

API Test keys

Fetch Terms and Conditions

GET
/v2/products/:product_name/tnc

Click to copy

Use this endpoint to retrieve the terms and conditions of a sub-merchant. Know about the

for this API.

Is this page helpful?

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
-H "Content-Type: application/json" \
3
-X GET https://api.razorpay.com/v2/products/payments/tnc \

Success

1
{
2
"entity": "tnc_map",
3
"product_name": "payments",
4
"id": "tnc_map_HjOVhIdpVDZ0FB",
5
"tnc": {
6
"terms": "https://razorpay.com/terms",
7
"privacy": "https://razorpay.com/privacy",
8
"agreement": "https://razorpay.com/agreement"
9
},
10
"last_published_at": 1640589653
11
}
Path Parameters
product_name

*

string

The product family for which the relevant product to be requested for the sub-merchant. Possible value is payments.

Response Parameters
entity
string

The name of the entity. Here it is tnc_map.

product_name
string

Determines what business unit the terms and conditions belong to.

id
string

Unique identifier of the terms and conditions belonging to a specific business unit.

tnc
object

The terms and conditions content.

Show child parameters (3)

last_published_at
integer

The timestamp in Unix format, when the terms and conditions were created/last updated.

Fetch Terms and Conditions

GET
/v2/products/:product_name/tnc

Click to copy

Use this endpoint to retrieve the terms and conditions of a sub-merchant. Know about the

for this API.

Is this page helpful?

Path Parameters
product_name

*

string

The product family for which the relevant product to be requested for the sub-merchant. Possible value is payments.

Response Parameters
entity
string

The name of the entity. Here it is tnc_map.

product_name
string

Determines what business unit the terms and conditions belong to.

id
string

Unique identifier of the terms and conditions belonging to a specific business unit.

tnc
object

The terms and conditions content.

Show child parameters (3)

last_published_at
integer

The timestamp in Unix format, when the terms and conditions were created/last updated.

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
-H "Content-Type: application/json" \
3
-X GET https://api.razorpay.com/v2/products/payments/tnc \

Success

1
{
2
"entity": "tnc_map",
3
"product_name": "payments",
4
"id": "tnc_map_HjOVhIdpVDZ0FB",
5
"tnc": {
6
"terms": "https://razorpay.com/terms",
7
"privacy": "https://razorpay.com/privacy",
8
"agreement": "https://razorpay.com/agreement"
9
},
10
"last_published_at": 1640589653
11
}