Prerequisites
- Create a Razorpay account.
- Log in to the Dashboard and generate the API keys. You need to use these keys while using our APIs and Checkout.
Integration Steps
Follow these steps to integrate Razorpay Route:- 1. Build Integration: Integrate Route.
- 2. Test Integration: Test the integration by making a test payment.
- 3. Go-live Checklist: Check the go-live checklist.
1. Build Integration
Follow these steps to create Linked Accounts and transfer funds to them.Step 1.1 Create Linked Accounts
To transfer funds to various third parties, sellers, bank accounts or vendors, you should add them as Linked Accounts. When you add a Linked Account, you gain complete visibility and control of all the fund movements, such as transfers, reversals and refunds for each of your Linked Accounts. You can create Linked Accounts using Dashboard and APIs. Follow these steps to create Linked Accounts using APIs: 1.1.1 Create a Linked Account Create a Linked Account using the API. A uniqueaccount_id will be assigned to the created account.
1.1.2. Create a Stakeholder
You should now create a stakeholder using theaccount_id. A unique stakeholder_id will be assigned to the created stakeholder account.
1.1.3. Request a Product Configuration
Now that both Linked Account and stakeholder are created, you should request a Route product configuration.1.1.4. Update a Product Configuration
You should now trigger the update product configuration API with the bank account details of the Linked Account. The configuration will be activated if the information review is successful. If theactivation_status moves to the needs_clarification state, you can check the requirements array in the response for needs_clarification reasons. The array will contain the following information:
Requirements | Description
field_reference | The field reference which has an issue.
resolution_url | The URL to address the requirement. You should use the API endpoint to update the missing field.
reason_code | The reason code for showing in the requirement.
status | The status of the requirement.
You should use the endpoint in the resolution_url to update the details and get the configuration activated.
Step 1.2 Transfer Funds to Linked Accounts
After you create Linked Accounts, you can start transferring funds to them. You can transfer funds using the following methods:- Orders: You can set up transfers at the time of order creation. The transfer is automatically created and settled to the respective Linked Accounts after the payment is captured and the order is paid.
- Payments: You can initiate a transfer from the received payments.
- Direct Transfer: You can transfer funds to Linked Accounts directly from your account balance using Direct Transfers.
Requirements to Initiate a Transfer
- Maintain sufficient funds to successfully process the transfer to the Linked Account.
- You can only transfer the
capturedpayments. - You can create more than one transfer on a
payment_id. However, the total transfer amount (payment amount + fee) should not exceed the captured payment amount. - You cannot request a transfer on payment once a refund has been initiated.
2. Test Integration
After completing the integration, you can simulate a test transfer in the test mode using the Transfer via Payment or Direct Transfer methods from the Dashboard.3. Go-live Checklist
Consider the following steps before taking your integration live.3.1 Switch Test API Keys With Live API Keys
- After confirming your integration is working successfully, you can take the integration live by switching the Test Mode API Keys with the Live Mode Keys. Watch this video to learn how to generate Live API keys:
- You can create live Transfers to Linked Accounts created in the Test Mode.
3.2 Subscribe to Webhooks
Set up Webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook’s configured URL. You can subscribe to these Route webhook events.Appendix
This section provides information about business type, category, sub-category, KYC requirements and their possible values.Business Type
The following table lists the supported Business Types:Values
llpngootherindividualpartnershipproprietorshippublic_limitedprivate_limitedtrust,societynot_yet_registerededucational_institutes
Business Category
The following table lists the possible values for Business Category:Values
financial_services; education; healthcare; utilities; government; logistics; tours_and_travel; transport; ecommerce; food; it_and_software; gaming; media_and_entertainment; services; housing; not_for_profit; social; others