Անցնել բովանդակությանը
OneGate փաստաթղթեր
Կառավարման վահանակ
Ուղեցույցներ

Այս էջը հասանելի է միայն անգլերենով։ Կոդը, API դաշտերը և նույնացուցիչները չեն թարգմանվում։

Authentication

Secret API keys identify your organization and environment.

http
Authorization: Bearer sk_live_...

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

ScopeAllows
payments:readList and retrieve payments, payment links, providers
payments:writeCreate and cancel payments, create payment links
refunds:readList and retrieve refunds
refunds:writeCreate refunds
events:readList and retrieve events
webhooks:writeCreate, list and delete webhook endpoints (listing also needs this scope)

Rate limits

300 requests per minute per key. See Rate limits.