Skip to main content
POST
Create a Dynamic Charge with Due Date

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

X-Account-Id
string
requerido

Account ID (UUID format)

Cuerpo

application/json
amount
object
requerido

Amount is the amount configuration object (required)

debtor
object
requerido

Debtor is the debtor information (required)

dueDate
string
requerido

DueDate is the due date for the collection in format YYYY-MM-DD (ISO8601)

Ejemplo:

"2024-12-31"

receiverKey
string
requerido

Pix key that will receive the payment

Ejemplo:

"+5511999999999"

txId
string
requerido

TxID is the unique transaction identifier for this collection

Ejemplo:

"TXabcdefghijklmno123456789"

validAfterDue
integer
requerido

ValidAfterDue is the number of days after the due date that the collection remains valid

Rango requerido: x >= 0
Ejemplo:

5

additionalInfo
object

AdditionalInfo is a key-value map for additional information

Ejemplo:
description
string

Description is a custom message or description for the collection

Ejemplo:

"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

Ejemplo:

Respuesta

Created

additionalInfo
object

AdditionalInfo is a key-value map for additional information (optional)

Ejemplo:
amount
object

Amount is the amount configuration object (required)

createdAt
string

CreatedAt is the timestamp when the collection was created (required)

Ejemplo:

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

debtor
object

Debtor is the debtor information (required)

deletedAt
string

DeletedAt is the timestamp when the collection was deleted (optional, nullable)

Ejemplo:

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

description
string

Description is the custom description of the collection (optional)

Ejemplo:

"Payment for order #12345"

dueDate
string

DueDate is the due date for the collection in format YYYY-MM-DD (required)

Ejemplo:

"2024-12-31"

emv
string

EMV is the QR code payload in EMV format (required)

Ejemplo:

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

id
string

ID is the unique identifier of the collection (required)

Ejemplo:

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

locationUrl
string

LocationURL is the URL to access the collection location/QR code (required)

Ejemplo:

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

metadata
object

Metadata is the custom metadata associated with this collection

receiver
object

Receiver is the receiver information (required)

receiverKey
string

Pix key that will receive the payment

Ejemplo:

"+5511999999999"

review
integer

Review is the revision number of the collection (required)

Ejemplo:

0

status
string

Status is the current status of the collection (required) Valid values: ACTIVE, COMPLETED, REMOVED_BY_RECEIVER, REMOVED_BY_PSP

Ejemplo:

"ACTIVE"

tags
string[]

Tags is an array of custom tags (optional)

Ejemplo:
txId
string

TxID is the transaction identifier (required)

Ejemplo:

"TXabcdefghijklmno123456789"

updatedAt
string

UpdatedAt is the timestamp of the last update (required)

Ejemplo:

"2024-01-20T14:45:00Z"

validAfterDue
integer

ValidAfterDue is the number of days after the due date that the collection remains valid (required)

Ejemplo:

5