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
PUT
Update an Immediate Charge
Cuerpo
application/json
Respuesta
OK

