Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.chargefy.io/llms.txt

Use this file to discover all available pages before exploring further.

Gera uma URL /connect nova para um hosted flow existente. Use quando o seller vai iniciar ou retomar o cadastro em outro momento.

Autenticação

Requer API key de plataforma com escopo administrativo via header Authorization: Bearer.

Corpo da Requisição

id
string
required
ID do hosted flow (hf_*).

Resposta

url
string
URL /connect autorizada para o seller abrir o wizard.
authorization_expires_at
string
Expiração do authorization_code embutido na URL.

Exemplo

cURL
curl -X POST "https://api.chargefy.io/v1/hosted-flow-authorize" \
  -H "Authorization: Bearer $CHARGEFY_PLATFORM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "id": "hf_abc123" }'
Response
{
  "url": "https://app.chargefy.io/connect/hf_abc123?authorization_code=...",
  "authorization_expires_at": "2026-04-30T18:31:00Z"
}