API Reference
Mark as paid (manual settlement)
/v1/charge/{id}/settlehttps://cobrancas.efi.mimicr.dev · provider: https://cobrancas-h.api.efipay.com.brMarks a waiting or unpaid boleto charge as paid. The status becomes settled: there is no money movement, fine, interest or paid value. Charges created through a payment link can't be settled manually.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
charge_id of the charge.
Responses
200Success: {"code": 200}.
Always 200 on success.
200400Status doesn't allow settling: 3500081.
Numeric error code, from Efí's error table (e.g. 3500034).
3500034Error name (e.g. validation_error, invalid_status, property_does_not_exists).
"validation_error"Error text, or an object with the invalid property (a JSON Pointer-style path, like /items/0/value) and the message.
Texto
Propriedade
Invalid property.
"/payment/banking_billet/customer/name"Error message.
"O nome deve ter nome e sobrenome."401Token missing, invalid, expired (600 s) or from another API: 3500008 unauthorized.
Numeric error code, from Efí's error table (e.g. 3500034).
3500034Error name (e.g. validation_error, invalid_status, property_does_not_exists).
"validation_error"Error text, or an object with the invalid property (a JSON Pointer-style path, like /items/0/value) and the message.
Texto
Propriedade
Invalid property.
"/payment/banking_billet/customer/name"Error message.
"O nome deve ter nome e sobrenome."