Charges
A Charge in OFPI represents the actual payment that needs to be made in Brazil's Open FInance Network. Below we outline the various states in the OFPI charge process, detailing the possible transitions between these states and describing the conditions under which these transitions occur. Please see the table below to get a comprehensive overview of each state and the flow of the charge process.

State | Description | Transitions to | Trigger/Event |
---|---|---|---|
CREATED | Initial state when the charge is created. |
|
|
PENDING | The charge is awaiting further action or scheduling. |
|
|
SCHEDULED | The charge is scheduled for processing at a future date. |
|
|
SUCCEEDED | The charge has been successfully processed. | (End state - no further transitions) | |
CANCELED | The charge has been canceled. | (End state - no further transitions) | |
FAILED | The charge has failed. | (End state - no further transitions) |
Payment Intents
A Payment Intent in OFPI contains all the information required to process a payment in Brazil's Open FInance Network. Below we outline the various states in the OFPI payment intent process, detailing the possible transitions between these states and describing the conditions under which these transitions occur. Please see the table below to get a comprehensive overview of each state and the flow of the payment intent process.

State | Description | Transitions to | Trigger/Event |
---|---|---|---|
Created & Confirmed | Initial state when the payment intent is created and is confirmed by the user in the customer's flow. |
|
|
REQUIRES_ACTION | The payment intent requires further action. |
|
|
PROCESSING | The payment intent is being processed. |
|
|
SCHEDULED | The payment intent is scheduled for processing. |
|
|
SCHEDULE_FINISHED | The payment intent has finished the scheduled processing. Only used if not 100% of a schedule succeeded. Otherwise the final status is SUCCEEDED . | (End state - no further transitions) | |
SUCCEEDED | The payment intent has been successfully processed. | (End state - no further transitions) | |
CANCELED | The payment intent has been canceled. | (End state - no further transitions) | |
FAILED | The payment intent has failed. | (End state - no further transitions) |