Unbind Location (Bacen DELETE /loc/{id}/txid)
Unbinds the current charge from a Location, making it available for reuse. Sets the currentTxId to null and changes the status back to ACTIVE. Requires Idempotency-Key header. Bacen API Pix v2.9.0: DELETE /loc/{id}/txid
Path Parameters
- Type: string Format: uuididrequired
Unique identifier of the location to unbind
Headers
- Type: stringx
-branch requiredBranch of the location owner account
- Type: stringx
-account -number requiredNumber of the location owner account
- Type: stringIdempotency
- Key requiredUnique idempotency key
Responses
- application/json
- application/json
- application/json
Request Example for delete/loc/{id}/txid
curl http://localhost/loc/2a8cbd7d-0c7b-4a69-a1e1-4a19e8b7a2aa/txid \
--request DELETE \
--header 'x-branch: ' \
--header 'x-account-number: ' \
--header 'Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"location": "string",
"tipoCob": "cob",
"status": "ACTIVE",
"txid": "string",
"criacao": "2026-07-31T12:59:10.307Z"
}