Payment items have three states:
PENDING: This is the default state assigned to a payment item when it's first created. It indicates that the payment has been initiated but has not been processed yet.
SUCCESS: Indicates that the payment has been successfully processed and completed without any issues.
FAILURE: Denotes that there was an issue processing the payment, and it was not completed successfully. Reasons might include insufficient funds, invalid account details, or other system-related errors.
REJECTED: The worker does not have the required KYC state to perform the payment.
This four-state system offers a clear and concise way to track the progress of individual payments, ensuring transparency and accountability throughout the payment process.