Skip to content

Withdraw XLM ​

http
POST /api/wallet/withdraw

Verified email · rate limited (10 / hour per user)

Body ​

FieldTypeRules
destinationstringValid Stellar public key, not your own
amountstring | number> 0, ≤ 7 decimals, ≤ withdrawable
memostring, optional≤ 28 bytes; empty string is ignored
json
{ "destination": "GDX…4KQ", "amount": "25.5", "memo": "1048213" }

If the destination account doesn't exist, a createAccount operation is used and the amount must be at least 1 XLM.

Response 201 ​

json
{
  "txHash": "2639d27c…a7a",
  "explorerUrl": "https://stellar.expert/explorer/testnet/tx/2639d27c…a7a"
}

Errors ​

StatusCodeCause
400VALIDATION_ERRORInvalid address, amount or memo
400BAD_REQUESTSending to yourself, or < 1 XLM to an unactivated address
403EMAIL_NOT_VERIFIED
422INSUFFICIENT_BALANCEdetails.withdrawable shows the maximum
429RATE_LIMITED
502STELLAR_TX_FAILEDRejected by Stellar
503HORIZON_UNAVAILABLEOutcome unknown — check wallet activity before retrying

Nexlm is a peer-to-peer facilitator and never holds customer Naira.