POST
Open a PIX charge on a payment link

Authorizations

Authorization
string
header
required

Authorization: Bearer cl_test_sk_... (sandbox) or Bearer cl_live_sk_... (live). A live key additionally needs production enabled by the workspace owner. Using a live key against the sandbox path revokes it on sight (leak signal); a sandbox key on live is refused and logged, but not revoked.

X-Workspace-Id
string
header
required

The workspace (tenant) UUID. Always required, including on session-authenticated dashboard calls.

Headers

X-Subaccount-Id
string<uuid>

Wallet-as-a-service: act on one of the caller's own sub-accounts (its ledger, parties and wallets) instead of the workspace itself. Only valid on balances/wallets/transactions/statement/crypto/pix/payment-links/rfq routes, only for a workspace-level caller (not a party-scoped key), and only for a sub-account the caller's workspace owns.

Idempotency-Key
string
required

Required. The same key with the same request body replays the stored result; the same key with a different body is 409 idempotency_key_reuse.

Path Parameters

env
enum<string>
required

test is also accepted on the wire as an alias of sandbox; the key prefix must match (cl_test_sk_ for sandbox/test, cl_live_sk_ for live).

Available options:
sandbox,
live
id
string<uuid>
required

Payment link id.

Body

application/json
payer_document
string
required

CPF or CNPJ, any formatting; validated as a real document number.

payer_name
string
amount_minor

Required (and only used) on an open-amount link; a fixed-price link always charges its own price.

Pattern: ^[0-9]{1,16}$
email
string

Response

Idempotency-Key replay.

data
object
required