Update an Immediate Charge
Use this endpoint to update an immediate collection. Only collections in ACTIVE status can be updated.
Mutable Fields (can be updated):
- expirationSeconds: Time in seconds until collection expires
- receiverKey: PIX key that will receive the payment
- debtorDocument: CPF/CNPJ of the payer (must be provided with debtorName)
- debtorName: Name of the payer (must be provided with debtorDocument)
- description: Custom description for the collection
- additionalInfo: Additional key-value information
- tags: Array of custom tags
Immutable Fields (cannot be updated):
- id, accountId, txId, amount, status, pactualId, emv, locationUrl, createdAt, updatedAt
State Restrictions:
- Collections can ONLY be updated when status is ACTIVE
- Collections with status COMPLETED, DELETED, or EXPIRED cannot be updated
Autorizações
JWT bearer token issued by the identity provider.
Cabeçalhos
Account ID (UUID format)
Parâmetros de caminho
Identifier of the immediate collection
Corpo
"150.00"
"52998224725"
"Maria Santos"
"Updated payment description"
7200
"+5511988888888"
Resposta
OK
"100.00"
"2024-01-15T10:30:00Z"
3600
"550e8400-e29b-41d4-a716-446655440000"
"+5511999999999"
"ACTIVE"
"TXN123456789"
"2024-01-15T10:30:00Z"
"52998224725"
"João da Silva"
"Payment for order #12345"
"00020126580014br.gov.bcb.pix..."
"https://api.example.com/qr/550e8400"

