This endpoint initiates a withdrawal from the authenticated user’s credit wallet to their registered external wallet address. The withdrawal is processed on-chain on the Linea network, and the net amount received equals the requested amount minus network gas fees.Prerequisites:
User must have a registered external wallet (completed delegation flow)
Credit wallet must have sufficient balance to cover withdrawal amount + fees
User must be verified and in good standing
Process Flow:
Check available balance with GET /v1/wallet/credit
Estimate fees with GET /v1/wallet/credit/withdraw-estimation
Initiate withdrawal with this endpoint
Monitor transaction on blockchain using returned txHash
Insufficient Balance: The withdrawal amount plus estimated fees must not exceed available balance. Always validate balance before calling this endpoint.
Network Fees: Fees are deducted from the withdrawal amount. If withdrawing 10 USDC with 0.02 USDC fee, user receives 9.98 USDC.
Transaction Monitoring: Use the returned txHash to track transaction status on Linea block explorer. Typical confirmation time is 1-3 minutes.