# Withdraw

# Withdraw Bitcoin Cash

You can use this API to withdraw your Bitcoin Cash.

# Endpoint

POST /user/withdraw_bch

# Parameters

Name Type Description Required
toAddress cashaddress your address to withdraw to ✔️
password string your password ✔️

# Response

Status: 200

{
  "success": true,
  "txid": "66a2987562a405648a6c5622ed6c205fca6169faa8afeb96a994b48010bd186a"
}
curl -X POST https://www.juungle.net/api/v1/user/withdraw_bch \
  --data '{
    "toAddress": "bitcoincash:qrr3p36a2kdgjx2kdm3tgur4ljdwqyz77vpsv60nyg",
    "password": "mypasswordissecret"
  }' \
  -H 'X-Access-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEsImlhdCI6MTYxMTE3NDcyOCwiZXhwIjoxNjExNzc5NTI4fQ.IUDW9DeKsPTmJ8EupsprFV8UArqJcsNAbF_-IrxBG1Q'

# Withdraw NFT

You can use this API to withdraw deposited NFT

# Endpoint

POST /user/withdraw_nft

# Parameters

Name Type Description Required
toAddress cashaddress your address to withdraw to ✔️
nftId number id of nft ✔️
password string your password ✔️

# Response

Status: 200

{
  "success": true,
  "txid": "66a2987562a405648a6c5622ed6c205fca6169faa8afeb96a994b48010bd186a"
}
curl -X POST https://www.juungle.net/api/v1/user/withdraw_bch \
  --data '{
    "toAddress": "bitcoincash:qrr3p36a2kdgjx2kdm3tgur4ljdwqyz77vpsv60nyg",
    "nftId": 42069,
    "password": "mypasswordissecret"
  }' \
  -H 'X-Access-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEsImlhdCI6MTYxMTE3NDcyOCwiZXhwIjoxNjExNzc5NTI4fQ.IUDW9DeKsPTmJ8EupsprFV8UArqJcsNAbF_-IrxBG1Q'