About Partner Auth
Use the Partner Auth credentials while using Razorpay 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 Razorpay products to accept payments:
Use the Partner credentials as described in the
.Watch this video to see how to access your Partner credentials.
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?