How it Works
Razorpay partially activates the account after verifying the KYC submitted.-
The sub-merchant needs to submit the following minimum KYC details along with the other business details :
Business Type | Minimal KYC Details
Individuals | - Personal PAN -
Bank Account Details (IFSC Code, A/C No., Beneficiary Name)
Proprietorship | - Personal PAN - Bank Account Details (IFSC Code, A/C No., Beneficiary Name)
-
Business PAN (Optional)
Other Registered Business | - Personal PAN - Bank Account Details (IFSC Code, A/C No., Beneficiary Name)
- Business PAN
- Signatory PAN
-
Razorpay verifies the KYC details and partially activates the sub-merchant account. The account moves to
activated_kyc_pendingstate. The sub-merchant can start accepting payments up to GMV (Gross Merchandise Value) limit of ₹50,000 (or ₹5,00,000 if GST verified) using Payment Links and QR Codes. -
The sub-merchant can submit the rest of the KYC documents while the account is in
activated_kyc_pendingstate. -
Razorpay team reviews the submitted details. Based on the evaluation, the account can move to either of these states:
-
needs_clarificationandunder_review: Your sub-merchant can accept payments and receive settlements, upto the GMV limit. If limits are breached, the payments and settlements are put on hold. -
activated: If account is successfully activated, the breach limits are removed for payments and settlements. -
suspended: Payments and settlements are put on hold. Please reach out to Razorpay support for the next steps.
-
Example
ABC Inc. is an ERP software company, that wants to onboard their customer Acme Corp (an ecommerce business that sells books) as a sub-merchant to accept payments. ABC Inc. should sign up as a Razorpay partner and then use our onboarding APIs to create Acme Corp’s sub-merchant account by providing the relevant details and documents. Our team will review the submitted details and change the account state as applicable.Prerequisites
- Sign up as Partner and complete KYC to activate your account.
- Generate
client_idandclient_secretto authenticate APIs calls for both test mode or live mode.
Workflow
Given below is a diagram that illustrates the various steps in the workflow. The document requirements are visible in the array.1. Create an Account
Create an account for the sub-merchant using the Create an Account API by passing theno_doc_onboarding=true parameter. This triggers the Xpress Onboarding flow.
Available Account APIs
API | Description
Create an account | API to create a sub-merchant account.
Fetch an account | API to view sub-merchant account details.
Update an account | API to update the sub-merchant account details.
Delete an account | API to delete a sub-merchant account.2. Create a Stakeholder
Use the Create a Stakeholder API to add a stakeholder for an account. Each stakeholder needs to update the KYC.Available Stakeholder APIs
API | Description
Create a stakeholder | API to create a stakeholder.
Fetch a stakeholder | API to retrieve and view the stakeholder account details.
Fetch all stakeholders | API to retrieve all stakeholders for a given account.
Update a Stakeholder | API to update the stakeholder account details.3. View and Accept Terms and Conditions
Before activating the sub-merchant and requesting for relevant product configurations, the sub-merchant needs to view and accept the Terms and Conditions. You can fetch these Terms and Conditions links using the Fetch Terms and Conditions API to share them with the sub-merchant. You can also accept Terms and Conditions for the sub-merchant using the Request a Product Configuration API.Available Terms and Conditions APIs
API | Description
Accept Terms and Conditions | API to accept terms and conditions.
Fetch Terms and Conditions | API to retrieve terms and conditions.4. Configure Products to Accept Payments
You can use the Product Configuration APIs to configure and activate Razorpay products for a sub-merchant account according to their requirements.Available Product Configuration APIs
API | Description
Request a Product Configuration | API to request a product configuration.
Update a product configuration | API to update a configured product.
Fetch a Product | API to fetch a configured product.5. Upload Supporting Documents
You can submit the required documents for sub-merchant onboarding using the Documents APIs listed in the table below.Available Documents APIs
API | Description
Upload account documents | API to upload sub-merchant’s business documents.
Upload stakeholder documents | API to upload stakeholder’s signatory documents.
Fetch account documents | API to fetch account documents.
Fetch stakeholder documents | API to fetch stakeholder documents.6. Subscribe to Webhooks
Subscribe to relevant webhook events to receive notifications (in the form of a webhook payload) when these events occur. There are 2 types of events:- Transaction Events: These are events related to payment transactions performed by the sub-merchants. You can configure these events at a sub-merchant level. View webhook events and payload details.
- Sub-Merchant Onboarding Events: These events are related to the onboarding status of the sub-merchant. You should configure these at your end. Subscribing to these events will enable you to get the onboarding status of all sub-merchants.
Available Webhook Events and Descriptions
Event Name | Description
product.payment_link.under_review | Triggered when the status for a Payment Link product is under_review.
product.payment_link.needs_clarification | Triggered when the status for a Payment Link product is needs_clarification.
product.payment_link.activated | Triggered when the status for a Payment Link product is activated.
product.payment_link.rejected | Triggered when the status for a Payment Link product is rejected.
View payload details.
Watch this video to see how you can subscribe to Partner Webhooks.
To subscribe to webhook events:
- Log in to the Dashboard.
- Navigate to Partner’s Dashboard → Settings → Webhooks to subscribe to any of the events mentioned in the following section.
- Click Manage.
- In the Webhook Setup pop-up page:
- Enter the URL where you want to receive the webhook payload when an event is triggered. We recommended using an HTTPS URL.
- Enter a Secret for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay.
- In the Alert Email field, enter the email address to which the notifications should be sent in case of webhook failure.
- Select the required events from the list of Active Events.
- Click Create Webhook.
Alerts
Razorpay sends alerts once the sub-merchant GMV is breached. The first webhook event will be triggered when 90% of the GMV is breached. After that, at an increment of 1% a webhook event will be triggered. Given below is the event name and description:Event Name | Description
account.no_doc_onboarding_gmv_limit_warning | Triggered when the sub-merchant breaches the GMV.Sample Payload