curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/withdraw/status/{reference_id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Withdrawal status retrieved",
"data": {
"id": "5f9b2c7b9c9d6b0017b4e6b1",
"amount": 10,
"walletId": "5f9b2c7b9c9d6b0017b4e6b1",
"status": "RETRY",
"referenceNumber": 123,
"created_at": "2023-11-07T05:31:56Z",
"transactionCost": 123,
"transactionAmount": 123,
"customerKey": "<string>",
"integratorFeeAmount": 123,
"integratorFee": 123,
"integratorCommissionType": "PERCENTAGE",
"errorMessage": "<string>",
"callbackUrl": "https://example.com",
"referenceId": "5f9b2c7b9c9d6b0017b4e6b1",
"confirmationId": "<string>"
}
}This endpoint will return the status of the withdrawal request.
curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/withdraw/status/{reference_id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Withdrawal status retrieved",
"data": {
"id": "5f9b2c7b9c9d6b0017b4e6b1",
"amount": 10,
"walletId": "5f9b2c7b9c9d6b0017b4e6b1",
"status": "RETRY",
"referenceNumber": 123,
"created_at": "2023-11-07T05:31:56Z",
"transactionCost": 123,
"transactionAmount": 123,
"customerKey": "<string>",
"integratorFeeAmount": 123,
"integratorFee": 123,
"integratorCommissionType": "PERCENTAGE",
"errorMessage": "<string>",
"callbackUrl": "https://example.com",
"referenceId": "5f9b2c7b9c9d6b0017b4e6b1",
"confirmationId": "<string>"
}
}