API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Due-date charge batches

Revise a batch

PATCH/v2/lotecobv/{id}
Base URL: https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.br

Revises charges of a batch. It may carry only some of the original txids, but no new ones. Answers 202 with no body.

Scope: lotecobv.write.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

idintegerrequired

Batch id, chosen by you.

Body

application/json
cobsvobject[]required

Due-date charges of the batch.

Show child attributes
txidstringrequired

Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).

Example: "fb2761260e554ad593c7226beb5cb650"
valorobject

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Show child attributes
originalstring

Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.

Example: "110.00"

Responses

202Batch revision request sent for processing.
400LoteCobVOperacaoInvalida: the batch does not match the schema or changes the set of txids.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.

401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
403The token lacks the required scope (insufficient_scope).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
404NaoEncontrado: the resource does not exist.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.