Create an immediate Pix collection (cob)
Registers an immediate dynamic Pix collection. The Pix key is validated before creation. The collection includes its EMV payload, location URL, and expiration time.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
REQUIRED. Client-supplied replay key, at most 64 bytes. A request without it is refused with PIX-0030 @ 400 before the handler runs. Replaying the same key returns the ORIGINAL response at 200, even when the body differs from the first request under this key -- the key alone decides replay for collection creation. To create a different collection, use a new X-Idempotency key and a new txId.
1 - 64Receiver merchant account UUID (scopes DICT key validation)
"019606a1-3b4c-7d8e-9f01-234567890abc"
Cuerpo
Collection amount in BRL
Seconds until the collection expires
3600
Pix key type
"EVP"
Pix key value
"123e4567-e12b-12d1-a456-426655440000"
Merchant city
"Goiania"
Merchant name
"Loja Teste"
BACEN transaction identifier
"TX1234567890123456789012345"
Free-form key/value metadata (max 50 entries)
Currency (BRL only)
"BRL"
Optional debtor block
Free-form description
"Pagamento do pedido 12345"
Respuesta
Replay of an already-completed request under this X-Idempotency key -- the ORIGINAL response, verbatim, even when this request's body or txId differs from the first ( Never re-executes the command and never calls the provider a second time.
"0196a7b2-3e5f-7061-ac12-34567890abcd"
"100.50"
"2026-05-06T10:30:00Z"
BRL "BRL"
"00020101021226500014br.gov.bcb.pix2528pix.example.com/qr/v2/abc1235204000053039865802BR5910Loja Teste6007Goiania62070503***63041206"
3600
"2026-05-06T11:30:00Z"
"0196a7b2-4f60-7172-bd23-4567890abcde"
"0196a7b2-1c3d-7e4f-8a90-1234567890ab"
CPF, CNPJ, PHONE, EMAIL, EVP "EVP"
"123e4567-e12b-12d1-a456-426655440000"
"https://pix.example.com/qr/v2/abc123"
"Goiania"
"39053344705"
"Loja Teste"
"0196a7b2-2d4e-7f50-9b01-234567890abc"
ACTIVE, COMPLETED, CANCELLED "ACTIVE"
"TX1234567890123456789012345"
IMMEDIATE, DUE_DATE "IMMEDIATE"
"2026-05-06T10:30:00Z"
"2026-05-06T10:40:00Z"
"Customer requested cancellation"
"Pagamento do pedido 12345"

