Status Checking
Payout Status is an API link to get the status of previous transaction. all payout status are in here.
Please ensure that the correct ID is provided to prevent any errors in the API response.
Authentication
LeanX uses Auth Token to authenticate in each request's header.
Auth Token can be retrieved in your portal dashboard under API page.
Request Header
Getting payout status
HTTP Method: POST
Request Query
You may choose to search for transaction status based on payout id (given by the system) or external_invoice_ref (given by your side upon create payout request) based on necessity. However, it is advisable to always search based on external_invoice_ref to ensure that your internal record and payout request is in-sync.
Attributes
_id
String
Payout invoice number that you want to get the status or external invoice reference added upon create payout request
Response
Transaction Statuses
The table below displays the possible statuses that may be provided by the Lean.x platform during execution.
SUCCESS
Transaction is successfully executed and money has been transfered to target account.
PENDING
Transaction request has been sent to Lean.x platform. Require manual checking.
STATUS_PENDING_APPROVAL
Transaction has been sent to Lean.x platform, however due to provider limitation, it will not be transfer instanly. Will require manual approval by Lean.x operation team. Turn around time is 30-40 minutes.
FAILED
Transaction is failed to be executed at our platform
Due to the nature of Lean.x instant payout, response status of SUCCESS or FAILED can also be taken as final confirmation.
Detailed Error Message
In order to understand better for each FAILED status appear in payout response, Lean.x has included an error message object which can be seen as per example below.
Last updated