Skip to main content
POST
Create an Immediate Charge

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cabeçalhos

X-Account-Id
string
obrigatório

Account ID (UUID format)

Corpo

application/json
amount
string
obrigatório

Amount is the collection amount in decimal format with 2 decimal places

Exemplo:

"100.00"

expirationSeconds
integer
obrigatório

ExpirationSeconds is the time in seconds until the collection expires

Exemplo:

3600

receiverKey
string
obrigatório

Pix key that will receive the payment

Exemplo:

"+5511999999999"

txId
string
obrigatório

TxID is the unique transaction identifier for this collection

Exemplo:

"TXabcdefghijklmno123456789"

additionalInfo
object

AdditionalInfo is a key-value map for additional information

Exemplo:
debtorDocument
string

DebtorDocument is the CPF or CNPJ of the payer (optional, must be provided with DebtorName)

Exemplo:

"12345678901"

debtorName
string

DebtorName is the name of the payer (optional, must be provided with DebtorDocument)

Exemplo:

"João da Silva"

description
string

Description is a custom message or description for the collection

Exemplo:

"Payment for order #12345"

locationInformation
object

LocationInformation contains merchant location data for QR code generation

metadata
object

Metadata is an optional map for custom key-value pairs (max 50 keys)

tags
string[]

Tags is an array of custom tags for categorization

Exemplo:
transactionAmount
string

Purchase amount for Pix Troco (change service)

Exemplo:

"150.00"

withdrawalAmount
string

Withdrawal amount for Pix Saque or Pix Troco

Exemplo:

"50.00"

Resposta

Created

additionalInfo
object

AdditionalInfo contains additional key-value information

Exemplo:
amount
string

Amount is the collection amount in decimal format

Exemplo:

"100.00"

createdAt
string

CreatedAt is the timestamp when the collection was created

Exemplo:

"2024-01-15T10:30:00Z"

debtorDocument
string

DebtorDocument is the CPF or CNPJ of the payer

Exemplo:

"12345678901"

debtorName
string

DebtorName is the name of the payer

Exemplo:

"João da Silva"

description
string

Description is the custom description of the collection

Exemplo:

"Payment for order #12345"

emv
string

EMV is the QR code payload in EMV format

Exemplo:

"00020126580014br.gov.bcb.pix..."

expirationSeconds
integer

ExpirationSeconds is the time in seconds until expiration

Exemplo:

3600

id
string

ID is the unique identifier of the collection

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

locationUrl
string

LocationURL is the URL to access the collection location/QR code

Exemplo:

"https://api.example.com/qr/550e8400"

metadata
object

Metadata is the custom metadata associated with this collection

receiverKey
string

Pix key that will receive the payment

Exemplo:

"+5511999999999"

status
string

Status is the current status of the collection

Exemplo:

"ACTIVE"

tags
string[]

Tags is an array of custom tags

Exemplo:
txId
string

TxID is the transaction identifier

Exemplo:

"TXN123456789"

updatedAt
string

UpdatedAt is the timestamp of the last update

Exemplo:

"2024-01-15T10:30:00Z"