API Reference
Update a payment link
/v1/charge/{id}/linkhttps://cobrancas.efi.mimicr.dev · provider: https://cobrancas-h.api.efipay.com.brUpdates the settings of a link that is still waiting for payment (status link). All fields are optional.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
charge_id of the charge.
Body
application/jsonMethods accepted by the link.
banking_billetcredit_cardall"all"Link expiry, YYYY-MM-DD, today or later. After that date, the charge goes to expired.
"2026-10-31"Asks the payer for a delivery address.
falseMessage shown to the payer (3 to 80 characters).
"Obrigado pela compra"Discount in cents for paying by boleto.
500Discount in cents for paying by card.
Discount for paying until until_date.
Show child attributes
currency or percentage.
currencypercentageDiscount amount.
Discount deadline, YYYY-MM-DD, between issue and due date.
"2026-10-24"Responses
200Link updated.
200.
200Show child attributes
Charge identifier.
1000008link while the payer hasn't paid.
newwaitingidentifiedapprovedpaidunpaidrefundedcontestedcanceledsettledexpiredlink"link"Total in cents.
Your identifier.
Payment link URL, the page the payer opens.
"https://cobrancas.efi.mimicr.dev/link/9121028d2156f677892d91f59681e0e2"Accepted methods.
banking_billetcredit_cardallBoleto discount.
Card discount.
Conditional discount amount.
Conditional discount type.
Conditional discount deadline.
Asks for the delivery address.
Message.
Link expiry.
Creation.
400Charge without a link (3500097) or link no longer waiting for payment (3500098).
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."