Ceffu OpenAPI Documentation Platform
  1. Withdrawals
Ceffu OpenAPI Documentation Platform
  • Changes
    • Upcoming Changes
    • Change log
  • Development Tools and Resource
    • Overview
      • Welcome to Ceffu OpenAPI
    • Quickstart
      • Initial Setup
      • Using the Ceffu SDK
    • Authentication
    • Rate limit
    • Error Codes
    • Webhook Introduction
  • Concepts
    • Ceffu Custody
  • System Endpoints
    • Get System status
  • Wallet Management
    • Ceffu Supported Asset Endpoint
      • Get Prime Wallet supported coins list
      • Get Qualified Wallet supported coins list
      • Get Cosign Wallet supported coins list
    • Qualified Wallets and Prime Wallets Endpoint
      • Create Wallet
      • Update Wallet Details
      • Get Wallet List
      • Get Asset Details
      • Get Wallet Asset Summary
    • Deposits
      • Get Deposit Address
      • Get Deposit History
      • Get Deposit Detail
    • Withdrawals
      • Withdrawal
        POST
      • Get Withdrawal Fee (estimated)
        GET
      • Get Withdrawal History
        GET
      • Get Withdrawal Details
        GET
    • Whitelisted Addresses
      • Get Whitelisted Address List
      • Get Correspondent’s Options
      • Add/Edit Whitelisted Address
    • Transactions
      • Transaction History List
  • PW Sub Wallets
    • Sub-Wallet Management
      • Create Sub-Wallet
      • Update Sub-Wallet Details
      • Get Sub-Wallet List
      • Get Sub-Wallet Asset Details
      • Get Sub-Wallet Asset Summary
    • Sub-Wallet Deposits
      • Get Sub-Wallet Deposit Address
      • Get Deposit Address List under Prime Wallet
      • Get Deposit History under Sub-Wallet
      • Get Sub-Wallet Deposit History By Prime Wallet
    • Internal Transfers
      • Transfer between Sub Wallet and Prime Wallet
      • Get Transfer History between Sub-Wallet and Prime Wallet
    • Transactions
      • Get Transaction Details of Prime Wallet Internal Transfer
  • MirrorX
    • Link & Account
      • Get MirrorX LinkId List
    • Balances & Positions
      • Check MirrorX Available amount
      • Get MirrorX Asset Positions
    • Orders
      • Get MirrorX Orders
      • Place MirrorX Orders
  • Webhooks & Notifications
    • Resend webhook notifications
  • Archive
    • Mirror Endpoints
      • Get Mirror Linked Binance UID List
      • MIrror Assets Application
      • MIrror Assets Settlement
      • Get Mirror Operation Records
      • Get Mirrored Asset Positions
      • Get Mirrored Asset Summary
    • Wallet Endpoints
      • Get Transfer Detail with Exchange
      • Get Transfer History with Exchange
      • Transfer with Exchange
      • Get Withdrawal History
      • Get Withdrawal Details
      • Withdrawal
      • Get Sub-Wallet List (V1)
  1. Withdrawals

Withdrawal

POST
/open-api/v2/wallet/withdrawal

This method enables the withdrawal of funds from the specified wallet to an external address or a Ceffu wallet. The withdrawal endpoint is applicable only to parent Qualified wallet ID or Cosign wallet or parent Prime wallet ID. To indicate the destination address, either 'withdrawalAddress' or 'toWalletIdStr' must be provided. If the destination address is a Ceffu wallet address, the whitelisted address verification will be bypassed.

IMPORTANT NOTES: The amount field in Withdrawal (v2) endpoint means withdrawal amount excluded network fee in v2, that is exact amount receiver will receive. Please use Get Withdrawal History v2 and Get Withdrawal Detail (v2) together with Withdrawal (v2).

API Key permission group : Enable Withdrawal, Enable Whitelisted Address Checking

Designated Wallet : Impacted

Request

Header Params

Body Params application/json

Example
{
    "amount": 10.2,
    "coinSymbol": "USDT",
    "memo": 82486739,
    "network": "ETH",
    "requestId": "string",
    "timestamp": 1640995200000,
    "walletId": "string",
    "withdrawalAddress": "0x25adb98b6dacd3a8bfeec5a321daa879b401eab3",
    "toWalletIdStr": "string",
    "customizeFeeAmount": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/open-api/v2/wallet/withdrawal' \
--header 'open-apikey;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 10.2,
    "coinSymbol": "USDT",
    "memo": 82486739,
    "network": "ETH",
    "requestId": "string",
    "timestamp": 1640995200000,
    "walletId": "string",
    "withdrawalAddress": "0x25adb98b6dacd3a8bfeec5a321daa879b401eab3",
    "toWalletIdStr": "string",
    "customizeFeeAmount": "string"
}'

Responses

🟢200The operation succeeded
application/json
Body

Example
{
    "data": {
        "orderViewId": "24073614526151542000320001",
        "status": 10,
        "transferType": 10
    },
    "code": "000000",
    "message": "Success"
}
🟢200Business error
🟠400The client request is invalid
🟠401Authentication failed (e.g., invalid token specified by the Authorization header)
🟠403Authentication failed, but the operation is not allowed
🟠404Requested resource does not exist
🟠429Client request rate exceeded the limit
🔴500System error
Previous
Get Deposit Detail
Next
Get Withdrawal Fee (estimated)