API Reference
Update carnê metadata
/v1/carnet/{id}/metadatahttps://cobrancas.efi.mimicr.dev · provider: https://cobrancas-h.api.efipay.com.brUpdates custom_id and notification_url of the carnê and all its parcels.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
carnet_id of the carnê.
Body
application/jsonYour application's own identifier (up to 255 characters) or null.
"pedido-1042"URL that receives the notification POST (notification=<token>) on every status change, or null.
"https://sua-app.dev/webhooks/efi"Responses
200Success: {"code": 200}.
Always 200 on success.
200400Unknown carnê: 3500010 property_does_not_exists.
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."