Saltar al contenido
Guías
Referencia de API
establebilling:read

Obtener catálogo actual de créditos de IA

GET/v1/billing/current/ai-credits/catalog

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/billing/current/ai-credits/catalog"
{  "currencyCode": "string",  "creditValue": 0.1,  "creditPacks": [    {      "code": "string",      "name": "string",      "credits": 0,      "basePrice": 0.1,      "discountRate": 0.1,      "discountAmount": 0.1,      "price": 0.1,      "currencyCode": "string",      "isCustom": true    }  ],  "customCreditPack": {    "minCredits": 0,    "maxCredits": 0,    "creditStep": 0  }}