Withdrawal API Overview
Complete guide to NYYU withdrawal system with crypto, fiat, and PayPal support
Withdrawal API
Secure withdrawal system supporting cryptocurrency, fiat bank transfers, and PayPal with 2FA verification
Overview
The Withdrawal API provides a comprehensive, secure system for users to withdraw funds from their NYYU wallets using multiple methods: cryptocurrency transfers, bank/fiat transfers, and PayPal payments. All withdrawal operations require verification codes for enhanced security.
Withdrawal Methods
Withdraw crypto assets to external wallets via blockchain networks (BEP20, ERC20, etc.)
Withdraw fiat currency via international or domestic bank transfers
Fast withdrawals directly to your PayPal account email
Core Types
CryptoWithdraw
type CryptoWithdraw {
  id: Int!
  userId: Int!
  amount: Float!
  sourceToken: String!
  network: String!
  des: String!
  status: Int!
  createdAt: Float
  updatedAt: Float
  deniedReason: String
}amount - Withdrawal amountsourceToken - Crypto type (BTC, ETH, etc.)network - Blockchain networkdes - Destination wallet addressstatus - Request status (0-2)createdAt - Request timestampupdatedAt - Last update timestampdeniedReason - Reason if deniedBankWithdrawRequest
type BankWithdrawRequest {
  id: Int!
  userId: Int!
  targetCurrency: String!
  amount: Float!
  sourceToken: String!
  mode: Int!
  country: String!
  holderName: String!
  bankName: String!
  accNumber: String!
  metadata: String
  address: String!
  postCode: String!
  status: Int!
  createdAt: Float
  updatedAt: Float
}bankName - Bank institution nameaccNumber - Account numberholderName - Account holder namemode - Transfer mode (1: Intl, 2: Domestic)targetCurrency - Target fiat currencyamount - Withdrawal amountsourceToken - Source wallet currencycountry - Bank countryPaypalWithdraw
type PaypalWithdraw {
  id: Int!
  userId: Int!
  email: String!
  target: String!
  amount: Float!
  sourceToken: String!
  status: Int!
  createdAt: Float
  updatedAt: Float
  deniedReason: String
}Withdrawal Status
Security Features
All withdrawal requests require email verification codes to prevent unauthorized access
Admin approval operations require SMS 2FA codes for critical security
All withdrawal requests are manually reviewed by admins before processing
Complete timestamp tracking with creation and update logs for compliance
Withdrawal Flow
generateWithdraw to receive email verification codesendWithdrawConfirmCode to receive SMS 2FA codeUser Operations
Generate Withdraw Code
Request email verification code for withdrawal operations
Crypto Withdrawal
Withdraw cryptocurrency to external wallet addresses
Fiat Withdrawal
Withdraw via international or domestic bank transfer
PayPal Withdrawal
Fast withdrawal to PayPal account
Change Show Status
Hide or show withdrawal transactions on wallet page
Admin Operations
Send Confirmation Code
Request SMS 2FA code for withdrawal approval (ADMIN)
Confirm Crypto Withdrawal
Approve or deny cryptocurrency withdrawal requests (ADMIN)
Confirm PayPal Withdrawal
Approve or deny PayPal withdrawal requests (ADMIN)
Approve Fiat Withdrawal
Approve bank withdrawal after manual fund transfer (ADMIN)
Deny Bank Withdrawal
Deny bank withdrawal request with reason (ADMIN)