Patch Dynamic Immediate Charge (COB-2)
Partially updates an ACTIVE COB: expiration, payer request, and additional info. Send only status = REMOVED_BY_RECEIVER (Bacen: REMOVIDO_PELO_USUARIO_RECEBEDOR) with no other fields to cancel; cancelled charges cannot be paid.
Path Parameters
- Type: stringtxidrequired
Transaction identifier (txid). Must be 26-35 lowercase alphanumeric characters [a-z0-9]
Headers
- Type: stringx
-branch requiredBranch of the charge owner account
- Type: stringx
-account -number requiredNumber of the charge owner account
- Type: stringIdempotency
- Key requiredUnique idempotency key
Body·
required
application/json
Partial update for a dynamic immediate charge (COB)
- Type: booleanemit
Image If true, includes base64 PNG in the response
- Type: integer Format: int32expiracaomin:1
New expiration time in seconds from creation (no max limit as per Bacen API Pix v2.9.0)
- Type: array object[] · …50info
Adicionais Replaces the full additional information list when sent
Additional information for the payer
- Type: stringsolicitacao
Pagador max length:140Optional message/request from the payer
- Type: string enumstatus
Status of a dynamic charge
values- A
T I V A - C
O N C L U I D A - R
E M O V I D A _ P E L O _ U S U A R I O _ R E C E B E D O R - R
E M O V I D A _ P E L O _ P S P - R
E M O V E D _ B Y _ R E C E I V E R - R
E M O V I D O _ P E L O _ U S U A R I O _ R E C E B E D O R
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for patch/cob/{txid}
curl http://localhost/cob/txid12345678901234567890123456 \
--request PATCH \
--header 'x-branch: ' \
--header 'x-account-number: ' \
--header 'Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"status": "ATIVA",
"expiracao": 1,
"solicitacaoPagador": "",
"infoAdicionais": [
{
"nome": "",
"valor": ""
}
],
"emitImage": true
}'
{
"id": "string",
"type": "STATIC",
"txid": "string",
"status": "ATIVA",
"revisao": 1,
"calendario": {
"criacao": "2026-07-31T12:59:10.330Z",
"expiracao": 1
},
"valor": {
"original": "string",
"modalidadeAlteracao": 1
},
"chave": "string",
"devedor": {
"cpf": "string",
"cnpj": "string",
"nome": "string"
},
"loc": {
"id": "string",
"url": "string"
},
"solicitacaoPagador": "string",
"infoAdicionais": [
{
"nome": "string",
"valor": "string"
}
],
"pixCopiaECola": "string",
"qrCodeImage": {
"contentType": "string",
"base64": "string"
},
"createdAt": "2026-07-31T12:59:10.330Z"
}