About Partner Auth
Use the Partner Auth credentials while using Curlec product APIs to accept customer payments on behalf of your sub-merchants.
You need to use Partner Auth credentials to accept payments from customers on behalf of your sub-merchants. You can use these Curlec products to accept payments:
Use the Partner credentials as described in the
.Handy Tips
- We use
Basic Auth
for authorising Partner requests. - These credentials are mode-specific. In addition to the API Key ID and Secret, provide the sub-merchant identification in the API requests.
To your API request:
- Add the basic auth with partner credentials (client_id and client_secret).
- Add the
account_id
of the sub-merchant usingX-Razorpay-Account
in the header.
You can use Partner Auth for all
.Below is an example for
.curl -u [CLIENT_ID]:[CLIENT_SECRET] \-X GET https://api.razorpay.com/v1/orders \-H "Content-Type: application/json" \-H "X-Razorpay-Account: acc_Ef7ArAsdU5t0XL" \
Was this page helpful?