Utility
https://sandbox-open.legionpays.com/v1/status/transfer/{transferRef}This API will give you the latest status of a transfer transaction.
Please include your transferRef in this path params.
Credentials
npx api install "@legionpay/v1.0#1k7d63fkmfdu9rlh"import legionpay from '@api/legionpay';
legionpay.statusTransfer({
transferRef: 'yourTransferRef',
'X-SIGNATURE': 'xxx',
'X-TIMESTAMP': '123123123'
})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));{
"status": 200,
"success": true,
"data": {
"amount": 10000,
"fee": 5000,
"channel": "014",
"channelName": "BANK BCA",
"accountNumber": "1234567890",
"name": "test_transfer_name",
"refId": "1689562129004",
"partnerRefId": "Dac1772c68ca693c287ab0565f1a327f2db5be8a816c83b22c686c8fc762504c8",
"process": "process",
"status": "success",
"desc": "Success transfer to test_transfer_name-1234567890",
"inquiryRef": "inquiry-ref"
}
}Request Session
Recent request history resets when this page is refreshed. Current session: 0