Skip to main content
POST
cURL with fictitious data

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

Idempotency-Key
string
required

Client-generated key used to retry exactly the same request safely.

Required string length: 1 - 64
X-Account-Id
string
required

UUID of the account associated with the operation.

Example:

"019606a1-3b4c-7d8e-9f01-234567890abc"

Body

application/json
amount
string
required

Collection amount in BRL

expirationSeconds
integer<int64>
required

Seconds until the collection expires

Example:

3600

keyType
string
required

Pix key type

Example:

"EVP"

keyValue
string
required

Pix key value

Example:

"123e4567-e12b-12d1-a456-426655440000"

merchantCity
string
required

Merchant city

Example:

"Goiania"

merchantName
string
required

Merchant name

Example:

"Loja Teste"

txId
string
required

BCB transaction identifier

Example:

"TX1234567890123456789012345"

additionalInfo
object[] | null

Free-form key/value metadata (max 50 entries)

currency
string

Currency (BRL only)

Example:

"BRL"

debtor
object

Optional debtor block

description
string

Free-form description

Example:

"Pagamento do pedido 12345"

Response

Created

accountId
string
required
Example:

"0196a7b2-3e5f-7061-ac12-34567890abcd"

amount
string
required
Example:

"100.50"

createdAt
string<date-time>
required
Example:

"2026-05-06T10:30:00Z"

currency
enum<string>
required
Available options:
BRL
Example:

"BRL"

emvPayload
string
required
Example:

"00020101021226500014br.gov.bcb.pix2528pix.example.com/qr/v2/abc1235204000053039865802BR5910Loja Teste6007Goiania62070503***63041206"

expirationSeconds
integer<int64>
required
Example:

3600

expiresAt
string<date-time>
required
Example:

"2026-05-06T11:30:00Z"

externalId
string
required
Example:

"0196a7b2-4f60-7172-bd23-4567890abcde"

id
string
required
Example:

"0196a7b2-1c3d-7e4f-8a90-1234567890ab"

keyType
enum<string>
required
Available options:
CPF,
CNPJ,
PHONE,
EMAIL,
EVP
Example:

"EVP"

keyValue
string
required
Example:

"123e4567-e12b-12d1-a456-426655440000"

locationUrl
string
required
Example:

"https://pix.example.com/qr/v2/abc123"

merchantCity
string
required
Example:

"Goiania"

merchantDocument
string
required
Example:

"39053344705"

merchantName
string
required
Example:

"Loja Teste"

organizationId
string
required
Example:

"0196a7b2-2d4e-7f50-9b01-234567890abc"

status
enum<string>
required
Available options:
ACTIVE,
COMPLETED,
CANCELLED
Example:

"ACTIVE"

txId
string
required
Example:

"TX1234567890123456789012345"

type
enum<string>
required
Available options:
IMMEDIATE,
DUE_DATE
Example:

"IMMEDIATE"

updatedAt
string<date-time>
required
Example:

"2026-05-06T10:30:00Z"

additionalInfo
object[] | null
cancelledAt
string<date-time>
Example:

"2026-05-06T10:40:00Z"

cancelledReason
string
Example:

"Customer requested cancellation"

debtor
object
description
string
Example:

"Pagamento do pedido 12345"

payment
object