Skip to main content

Authorization

Follow this guide to create a new Razorpay credential that will allow Nexla to authenticate to and exchange data with your Razorpay account.
razorpay_api_auth.png

Razorpay

Prerequisites

Before creating a Razorpay credential, you need to obtain your Key ID and Key Secret from your Razorpay account. Razorpay uses Basic Authentication for all API requests, with the Key ID as the username and the Key Secret as the password.

To obtain your Razorpay API credentials, follow these steps:

  1. Sign in to your Razorpay account using your administrator credentials.

  2. Navigate to your account settings or API management section in the Razorpay interface.

  3. Look for the API Keys or API section in your account settings, or navigate to Settings > API Keys or Developers > API Keys.

  4. If you don't have API keys yet, look for the option to generate or view your Key ID and Key Secret.

  5. Click Generate API Keys or Create API Keys to create new API keys.

  6. Configure your API key settings:

    • Enter a name for the API keys (e.g., "Nexla Integration")
    • Review and select the permissions or scopes for the keys (if applicable)
  7. Click Generate or Create to create the API keys.

  8. Your Key ID will be displayed immediately after creation. Copy the Key ID.

  9. Your Key Secret will be displayed immediately after creation. Copy the Key Secret immediately, as it may not be accessible again after you navigate away from the page.

  10. Store both credentials securely, as you will need them to configure your Nexla credential. The Key ID and Key Secret are sensitive information and should be kept confidential.

The Key ID and Key Secret are used for Basic Authentication with all API requests to the Razorpay API. The Key ID is used as the username, and the Key Secret is used as the password in Basic Authentication. The credentials authenticate your requests and grant access to Razorpay resources based on your account permissions. If your credentials are compromised, you should immediately revoke them in your Razorpay account settings and generate new ones. For detailed information about obtaining API keys, API authentication, and available endpoints, refer to the Razorpay API documentation.

Create a Razorpay Credential

  • To create a new Razorpay credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

New Credential Overlay – Razorpay

RazorpayCred.png

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

Basic Authentication

Razorpay uses Basic Authentication for all API requests. Your Key ID is used as the username, and your Key Secret is used as the password in Basic Authentication.

  1. Enter your Razorpay Key ID in the Key ID field. This is the Key ID (username or personal API Key) you obtained from your Razorpay account settings (Settings > API Keys or Developers > API Keys). The Key ID is used as the username in Basic Authentication for all API requests to the Razorpay API.

  2. Enter your Razorpay Key Secret in the Key Secret field. This is the Key Secret (password or key secret) you obtained from your Razorpay account settings. The Key Secret is used as the password in Basic Authentication for all API requests to the Razorpay API. The Key Secret is sensitive information and must be kept confidential.

    Your Razorpay API credentials can be found in your Razorpay account settings under Settings > API Keys or Developers > API Keys. The Key ID and Key Secret are used for Basic Authentication with all API requests to the Razorpay API. The Key ID is used as the username, and the Key Secret is used as the password in Basic Authentication.

    If your credentials are compromised, you should immediately revoke them in your Razorpay account settings and generate new ones. The Key ID and Key Secret provide access to your Razorpay account data and should be treated as sensitive information. Keep your credentials secure and do not share them publicly.

    For detailed information about obtaining API keys, API authentication, and available endpoints, see the Razorpay API documentation.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.