Scope
This documentation is intended for engineering teams responsible for integrating their own systems with the platform. It assumes familiarity with the HTTP protocol, the JSON format and the basic concepts of the Brazilian payment schemes.Interface characteristics
The API follows the REST architectural style over HTTPS. Messages are exchanged in JSON (RFC 8259), encoded in UTF-8. The production base URL ishttps://api.fincle.com.br.
Monetary amounts are integers expressed in cents of Brazilian real (BRL, ISO 4217). Dates and times follow ISO 8601. Authentication relies on a short-lived access token issued from an API key.
Operating model
Creation of a charge is synchronous: the response contains the transaction identifier and the data required for payment. Confirmation of payment is asynchronous for Pix and boleto, and the platform communicates it to the integrator’s system by notification. It is recommended that the integration treat the notification as the trigger for releasing the product or service and use retrieval of the transaction as the reference source for verification.Quickstart
From issuance of the token to confirmation of the first payment.
Transaction lifecycle
Statuses, transitions and associated events.
Infractions and MED
Effects of an infraction report on the transaction and the balance.
Regulatory references
Applicable laws, regulations and technical standards.