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
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for delete/api/loc/{id}/txid
curl http://localhost:8080/api/loc/2a8cbd7d-0c7b-4a69-a1e1-4a19e8b7a2aa/txid \
--request DELETE \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"location": "string",
"tipoCob": "cob",
"status": "ACTIVE",
"txid": "string",
"criacao": "2026-09-16T19:14:18.660Z"
}