The FGTS callback system is an automated solution for real-time monitoring of proposal cancellations.
FGTS callbacks can be sent via parameters in the URL or via events in the request body.
URL parameters and proposal situations
Proposal callbacks are sent via URL, in this format:
When sent, the values {PROPOSAL}, {SITUATION} and {IDENTIFIER} will be replaced by real values, described in the table below.
Proposal callback parameters table
Proposal status identification table
If the callback is parameterized with the POST method, in addition to the data sent in the URL, the partner will receive in the body of the request:
- Status 9: 00 - Crédito ou débito efetivado;
- Status 11: AB - Descrição da ocorrência.
If there is a problem while receiving the proposal callback, the system will make up to 3 attempts to send it.
Events
The FGTS callback notification events are:
Registered Bill
This callback is sent when a proposal is cancelled and we send a hybrid bill regarding the cancellation.
Cancellation completed
This callback is sent when the partner generates a cancellation slip and the customer pays the slip. This way, the cancellation is executed successfully.
Partial payment
This callback is sent when the customer makes a partial payment of the amount of the bill.
Payment not made
This callback is sent when the partner generates a cancellation slip, but the customer does not pay the slip.
Cancellation not completed
This callback is sent after the “Payment not completed” callback is sent. It informs that the cancellation of the transaction was not completed.
If any problem occurs while receiving the FGTS callback, the system will not attempt to send it again.