OI Payments Docs
Admin dashboard

Applications

Register applications, manage their API credentials, and override the gateway for testing.

Applications are the tenants of the service. Registering one provisions its identity, settings, and the credentials it uses to call the API.

Register an app

POST /admin/apps (requires app:manage) creates the app and two credential pairsTEST and LIVE. The raw key and secret of each are returned once in the registration response; relay them to the integrating team securely.

SettingMeaning
nameDisplay name.
webhookUrlWhere signed webhooks are delivered.
refundApprovalThresholdMinorOperator refunds above this are parked for approval.
receiptsEnabledWhether settled payments expose a receipt.
minAmountMinor / maxAmountMinorOptional per-payment bounds.

Update settings later with PATCH /admin/apps/{id}/settings.

Manage credentials

List an app's credentials with GET /admin/apps/{id}/credentials. Each row shows its mode, status, and expiresAt — secrets are never shown again after creation.

  • RotatePOST /admin/apps/{id}/credentials/rotate issues a new credential and puts the old one into a grace window (both work until it expires). Use this for routine rotation or to replace a lost secret without downtime.
  • RevokePOST /admin/apps/{id}/credentials/{credentialId}/revoke disables a credential immediately.

See Authentication for the integrator's side of rotation.

Rotation and revocation are sensitive actions: they require step-up re-auth and are recorded in the audit log.

Gateway override

For testing, an operator can point an app's mode at a specific gateway configuration:

  • PUT /admin/apps/{id}/gateway-override — set the override.
  • DELETE /admin/apps/{id}/gateway-override/{mode} — clear it.

This is how you exercise sandbox vs. specific store credentials without changing the app. Like credential changes, it requires step-up re-auth and is audited.

On this page