Withdraw

This API allows you to withdraw funds from a sub-user's wallet.

POST https://wallet-api.xaigate.com/api/v1/withdraw

Parameter content type: application/json

Request Body

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Request Parameter

Example Value

{
  "apiKey": "033e15ee-3de7-4a93-800a-ae131b73c237",
  "userId": "b3e36e1a-296f-4198-bda1-180c51aff14a",
  "receivedAddress": "0x41053c22ac13c77daa6d65a4d235de7c38cc0c85",
  "coin": "ETH",
  "amount": 0.1,
  "networkId": 1
}

Response (200 Ok - https status code)

Example Value

{
  "id": "9f715070-cfd1-4aac-894a-f7e205729888",
  "txid": "replaceable_dcf11e0f-1ba4-4689-8105-3cd01f313db7",
  "explorerUrl": "https://sepolia.etherscan.io/tx/replaceable_dcf11e0f-1ba4-4689-8105-3cd01f313db7",
  "amount": "0.0487",
  "transactionFees": "0.0013",
  "processingFees": "0.0001",
  "totalAmount": "0.05",
  "toAddress": "0xD72F3aF2C1DaB33780ddd10e0d826e70598E4fe7",
  "walletId": "f70b0cbb-d86f-4bb8-a75f-578fbd201f35",
  "coinShortName": "ETH",
  "date": "2023-12-19T09:27:43.806112Z"
}

Last updated