POST
https://dev.yimmit.com/api/v3/liquidity/withdraws/verifyVerify Withdraw
POST api/v3/liquidity/withdraws/verify
Verify whether the withdrawal request is valid and check if it is internal or external.
Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| currency | STRING | YES | Currency code (e.g., bnb). |
| blockchain_key | STRING | YES | Blockchain network key (e.g., bsc-testnet). |
| amount | STRING | YES | Amount to withdraw. |
| rid | STRING | YES | Recipient wallet address. |
Request Body
{
"currency": "bnb",
"blockchain_key": "bsc-testnet",
"amount": "0.05",
"rid": "0x17fe22f2e7e95d28cec73b3815f0020cff41f7b5"
}
Responses
- 200 Successful response
Returns verification details about the withdrawal request, including whether it's an internal or external transaction and the associated fees.
Response Fields:
transaction_type: Type of withdrawal transaction. Either "internal" (to another platform user) or "external" (to a blockchain address)fee_amount: Transaction fee amount in the specified currencyadmin_fees: Administrative fees charged for the withdrawal
Example
{
"transaction_type": "external",
"fee_amount": 0.01,
"admin_fees": "0.91268"
}