Saltar al contenido principal
POST
Create credit pack
This reference describes API version 2026-05-12. Send Commet-Version: 2026-05-12 with your request.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Commet-Version
string
predeterminado:2026-05-12

API version used by this reference. Send this header to select this contract explicitly.

Cuerpo

application/json
name
string
requerido
Required string length: 1 - 100
credits
integer
requerido
Rango requerido: 1 <= x <= 9007199254740991
price
integer
requerido
Rango requerido: 0 <= x <= 9007199254740991
description
string
Maximum string length: 255
isActive
boolean
planIds
string[]

Plans that sell the credit pack. Omitted or empty, every plan sells it. Plans created later sell it too.

Respuesta

Success

success
any
requerido
data
object
requerido