Skip to main content
POST
Purchase a quota package

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The quota package identifier

Gövde

application/json
idempotency_key
string
gerekli

Required purchase key (8-128 ASCII characters); Idempotency-Key header takes precedence over this body field. Keys are tenant-scoped and retained with the proforma indefinitely. Same payload replays return 201 with the same proforma; another package returns 409. Use a new key for an intentional repeat purchase.

Required string length: 8 - 128
Pattern: ^[A-Za-z0-9._:-]+$

Yanıt

success
string
gerekli
data
object
gerekli