iiPayडेवलपर पोर्टल
उदाहरण OpenAPI सहायता
Docs/Authentication
API संदर्भ

Authentication

Bearer credentials, tenant isolation और सुरक्षित key handling।

OpenAPI डाउनलोड करें ↗

Bearer credentials

Merchant API requests use the Authorization header with a token in the form ipl_<public-key>.ips_<secret-key>. The public key is looked up, while only a one-way hash of the secret is stored. Credentials are merchant-scoped and must not be shared between tenants. Older pk_live_/sk_live_ credentials remain accepted while you rotate them.

HTTP header

Authorization: Bearer ipl_REPLACE_PUBLIC_KEY.ips_REPLACE_SECRET_KEY

Credential rules

  • Credentials are issued from the administrator merchant detail screen.
  • The complete token is shown once; the secret is never returned by the API.
  • Revoked, expired, inactive, and suspended merchant credentials receive 401 invalid_api_key.
  • Use TLS, a server-side secret store, and separate credentials per environment.
  • Do not put the bearer token in browser JavaScript, QR data, return URLs, or logs.

Rate limits and scope

The merchant-api limiter defaults to 60 requests per minute, keyed by the credential key ID (or the client IP when no valid key ID is available). The limit is configurable through the application environment. A valid credential can see only its own merchant’s payments and transactions.