Pular para o conteúdo principal
POST
Ligar produto do gateway

Autorizações

Authorization
string
header
obrigatório

Chave criada em Meu Perfil → API Keys. Envie Authorization: Bearer sk_live_….

Cabeçalhos

Idempotency-Key
string

Chave única desta alteração (ex.: um UUID). Repetir a chamada com a mesma chave devolve a mesma resposta, sem duplicar.

Maximum string length: 255

Corpo

application/json
integration_id
string
obrigatório
Pattern: ^ai_[a-z0-9]{16}$
Exemplo:

"ai_4f8k2m9q1x7c3v5b"

external_product_id
string
obrigatório

Id do produto no gateway (aparece em list_gateway_mappings e nos avisos).

Required string length: 1 - 255
product_id
string
obrigatório
Pattern: ^pro_[a-z0-9]{16}$
Exemplo:

"pro_4f8k2m9q1x7c3v5b"

external_product_name
string
Maximum string length: 255

Resposta

Sucesso.

id
string
obrigatório
created
boolean
obrigatório
dashboard_url
string
obrigatório
{key}
any