Эта страница доступна только на английском. Код, поля API и идентификаторы не переводятся.
Authentication
Secret API keys identify your organization and environment.
Keep secret keys on your server. OneGate stores only a hash; if you lose a key, create a new one and revoke the old one.
Environments
sk_test_ keys only see TEST objects and can only use TEST provider connections (for example the Sandbox). sk_live_ keys see LIVE data; creating them requires a verified email and an approved business verification. See Test and Live.
Scopes
| Scope | Allows |
|---|---|
payments:read | List and retrieve payments, payment links, providers |
payments:write | Create and cancel payments, create payment links |
refunds:read | List and retrieve refunds |
refunds:write | Create refunds |
events:read | List and retrieve events |
webhooks:write | Create, list and delete webhook endpoints (listing also needs this scope) |
Rate limits
300 requests per minute per key. See Rate limits.