Skip to main content
POST
Create or resume a subscription purchase

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.

Gövde

application/json
plan_code
string
gerekli

The plan code to purchase or renew.

Maximum string length: 32
idempotency_key
string
gerekli

The unique purchase key; Idempotency-Key header takes precedence.

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

Yanıt

success
string
gerekli
data
object
gerekli