SocialMati
PaymentsKey ID + Key secretConfirm pricing before publishing

Razorpay

Collect plan payments in INR (Super Admin) and send payment links from the CRM/WhatsApp (workspace).

AProvider definition

Provider
Razorpay
What it does
Collect plan payments in INR.
Why we need it
Collect plan payments in INR (Super Admin) and send payment links from the CRM/WhatsApp (workspace).
Used in
Billing · CRM payment links · WhatsApp

BAccount requirements

Account type
Razorpay business account
Prerequisites
  • KYC-activated account for live mode

CConnection method

Authentication
Key ID + Key secret
Where to enter it
  • Your workspace: App → Integrations → Providers & API keysWorkspace owner or admin. Keys added here are used only by your workspace (AI keys here don't use plan credits).
  • Platform-wide (Super Admin): Super Admin → Platform → IntegrationsPlatform owner. Used for every customer who hasn't added their own key; can also be set as PLATFORM_KEY_<PROVIDER> on the API server.

Setup steps

  1. 1dashboard.razorpay.com → Account & Settings → API keys → Generate key.
  2. 2Webhooks: add the URL below with a secret (event payment_link.paid; payment.captured/failed for plan billing).
  3. 3Enter the keys and webhook secret.

DPermissions & API scopes

No OAuth scopes — access is controlled by the key or token itself. Restrict keys to the APIs listed in the setup steps where the provider allows it.

This list is generated from the scopes the application's code requests.

EFree vs paid

Free account / free API access
No setup fee.
Card or billing account required?
No.
Paid plan / costs
Per-transaction fee; no monthly API fee.
Quota and usage limits
Provider-specific rate limits.
Not yet verified. Confirm on the provider's official pricing page before publishing.

FSetup screenshots

Capture each step with real values masked. Save images as public/docs/integrations/razorpay/1.png … 10.png and they appear here automatically.

  1. Screenshot to add
    1. Account login / creation
    The provider's sign-in or sign-up page.
  2. Screenshot to add
    2. Developer console
    The developer console or dashboard home.
  3. Not applicable
    3. Project / app creation
    Creating the app or project used for this integration.
  4. Not applicable
    4. API enablement
    The API or product enabled for the project.
  5. Not applicable
    5. OAuth configuration
    Consent screen / OAuth settings with the redirect URIs.
  6. Screenshot to add
    6. API key / credentials creation
    Creating the key, secret or token (mask the value).
  7. Not applicable
    7. Permissions / scopes
    The scopes or permissions requested or approved.
  8. Screenshot to add
    8. Billing / quota settings
    Billing, credits or quota page.
  9. Screenshot to add
    9. Application connection
    The provider card in our application with fields filled (secrets masked).
  10. Screenshot to add
    10. Successful connection
    The green Test result or the connected account listed.

GApplication configuration

Never include real API keys, client secrets, access tokens or passwords in screenshots, tickets or documentation. Values below are field names and examples only.

FieldRequiredExample / defaultNotes
Key IDYes—
Key secretYes••••••••Stored encrypted; shown masked after saving.
Webhook secretOptional••••••••Set the same secret on the webhook below (event: payment_link.paid) to track payments from CRM payment links.

Paste these into the provider's console

Webhook URL
https://api.socialmati.com/api/webhooks/razorpay

HTesting

  1. 1Send yourself a ₹1 payment link from a lead and pay it — the lead timeline shows “Paid”.

ITroubleshooting

ProblemWhat to do
Invalid credentialsThe key or token is wrong, revoked or from another project. Create a new one and paste it again, then click Test.
Missing permissionsThe key's project or role doesn't include this API. Grant access or create the key in the right project.
API not enabledEnable the API/product for the project or app in the provider console and wait a few minutes.
Quota exceededWait for the quota window to reset (see section E) or request a higher quota / add credits.
Account not eligibleCheck the account requirements in section B (e.g. business/professional account, verified property, registered organisation).
Billing requiredAdd a payment method or prepaid credits on the provider account (see section E).

JDisconnect & security

Revoke access at the provider
Regenerate keys in the Razorpay dashboard.
Disconnect in the application
App → Integrations → Providers & API keys or Super Admin → Platform → Integrations → open the card → Remove / Disconnect. Connected accounts can be disconnected per brand.
Rotate credentials
Create the new key or secret first, paste it into the same card and Test, then delete the old one at the provider — no downtime.
How credentials are stored
Encrypted at rest with AES-256-GCM using the server's ENCRYPTION_KEY, shown masked after saving, never returned to the browser, and used only from the API server.
What data the application can access
Payment link and payment status data.

Other Payments providers

Start Free