Pular para o conteúdo principal
POST
JavaScript
Use este endpoint apenas para concessões criadas sob um direito de Chave de Licença com fulfillment_mode: manual. A concessão deve estar no status pending sem chave anexada. Veja Cumprimento Manual e o Guia de Integração de Cumprimento Manual de Chave de Licença para o fluxo completo.

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

grant_id
string
obrigatório

Grant ID

Corpo

application/json

Request body for manually fulfilling a pending license-key grant.

key
string
obrigatório

The license key value to deliver to the customer.

activations_limit
integer<int32> | null

Per-key activation limit. Defaults to the entitlement's license-key configuration.

expires_at
string<date-time> | null

When the key expires. Defaults to the duration in the entitlement's license-key configuration.

Resposta

Detailed view of a single entitlement grant: who it's for, its lifecycle state, and any integration-specific delivery payload.

brand_id
string
obrigatório

Brand id this grant belongs to.

business_id
string
obrigatório

Identifier of the business that owns the grant.

created_at
string<date-time>
obrigatório

Timestamp when the grant was created.

customer_id
string
obrigatório

Identifier of the customer the grant was issued to.

entitlement_id
string
obrigatório

Identifier of the entitlement this grant was issued from.

id
string
obrigatório

Unique identifier of the grant.

integration_type
enum<string>
obrigatório

The integration type of the grant's entitlement (e.g. license_key).

Opções disponíveis:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
metadata
Metadata · object
obrigatório

Arbitrary key-value metadata recorded on the grant.

status
enum<string>
obrigatório

Lifecycle status of the grant.

Opções disponíveis:
Pending,
Delivered,
Failed,
Revoked
updated_at
string<date-time>
obrigatório

Timestamp when the grant was last modified.

delivered_at
string<date-time> | null

Timestamp when the grant transitioned to delivered, when applicable.

digital_product_delivery
null | Digital Product Delivery · object

Digital-product-delivery payload, present when the entitlement integration is digital_files.

error_code
string | null

Machine-readable code reported when delivery failed, when applicable.

error_message
string | null

Human-readable message reported when delivery failed, when applicable.

feature
null | object

Typed feature payload, present only when the entitlement integration is feature_flag; null for every other integration type.

license_key
null | object

License-key delivery payload, present when the entitlement integration is license_key.

oauth_expires_at
string<date-time> | null

Timestamp when oauth_url stops being valid, when applicable.

oauth_url
string | null

Customer-facing OAuth URL for OAuth-style integrations. Populated during the customer-portal accept flow; null until the customer completes that step, and on grants for non-OAuth integrations.

payment_id
string | null

Identifier of the payment that triggered this grant, when applicable.

revocation_reason
string | null

Reason recorded when the grant was revoked, when applicable.

revoked_at
string<date-time> | null

Timestamp when the grant transitioned to revoked, when applicable.

subscription_id
string | null

Identifier of the subscription that triggered this grant, when applicable.

Última modificação em 9 de junho de 2026