Payment status flow
INVALID_DATA_INPUT* - It means the data provided was invalid or insufficient for the payment creation. It's a final status, to get the payment processed you need to resend the accurate data.
AWAITING - The first status of a payment, in case of lack of balance. In order to have the payment going through, check the needs of a new deposit in your account.
INREVIEW - The payment is under review due to some compliance rule, the user with proper access to compliance modal needs to check the reason and take action accordingly.
RECEIVED - The payment has been received, it’s all set to be processed.
PROCESSING - The payment has been sent for processing
PROCESSED - Only seen in the instant payment type scenario. It means the processor is pending on sending a response.
PAID* - The payment has been paid. The greatest status
REJECTED* - The payment has been rejected by the bank, only seen in the bank transfer (TED) payment type scenario (não instantaneos)
CANCELED*- The payment has been canceled
*These are final status of the payment, they can no longer be changed to another status