WSPN
Language
  • English
Version
  • V1.0
HomeWallet
Language
  • English
Version
  • V1.0
HomeWallet
Twitter
Telegram
Linkedin
  1. Address
  • Introduction
  • Get Started
  • Signature
  • What is WUSD
  • Webhook Service
  • Sandbox Environment
  • Blockchain Confirmations
  • Appendix
  • API Keys
  • Core Functionality
    • Core Functionality
    • Quickstart: Deposit via Blockchain Wallet
    • Quickstart: Withdraw via Blockchain Wallet
    • Quickstart: Deposit via Funds Transfer
    • Quickstart: Withdraw to Bank
  • Api Reference
    • Authentication
      • Get Access Token
      • Refresh Access Token
    • Wallet
      • Address
        • Get Deposit Address
          GET
        • Add Whitelist Address
          POST
        • Get Whitelist Address
          POST
        • Delete Whitelist Address
          POST
      • Remit Info
        • Get Deposit Remit Info
        • Add Remit Info
        • Edit Remit Info
        • Get Remit Info
        • Delete Remit Info
      • Transaction
        • Get Balance
        • Create Fiat Deposit
        • Create Fiat Withdraw
        • Create Crypto Withdraw
        • Get Fiat Transaction
        • Get Exchange Rate
        • Create Mint/Redeem
        • Mint/Redeem History
        • Get Mint Redeem Receipt
        • Get Fiat Transaction Receipt
        • Get Crypto Transaction Receipt
  1. Address

Add Whitelist Address

Developing
POST
/openapi/v1/wallet-address/whitelist/add
API to add whitelist addresses for withdrawals.
Duplicate addresses cannot be added under the same network.
Address will undergo a risk scan, and requests will be rejected if the address is
identified as high-risk, resulting in a failed addition.
FieldTypeRequiredMax LengthDescription
queryObjectY
requestIdStringY64A unique identifier for the request.
If the same request is sent again with the same requestId, it will be rejected to prevent duplicate processing.
addressStringY255depost withdraw whitelist address
mainNetStringYMainNet Type: ETHEREUM,POLYGON,VICTION
labelStringY64address tag

Request

Body Params application/json
query
object 
required
requestId
string 
required
A unique identifier for the request.
If the same request is sent again with the same requestId, it will be rejected to prevent duplicate processing.
<= 64 characters
address
string 
required
Depost withdraw whitelist address
<= 255 characters
mainNet
string 
required
label
string 
required
Address tag
<= 64 characters
Example
{
  "query": {
    "requestId": "af52515a-4779-4b7b-898a-b46f283dbc2c",
    "address": "0xb19729c0164f72952F99276802529C21DE71A180",
    "mainNet": "POLYGON",
    "label": "gerry"
  }
}

Request 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 'https://wallet.test.wspn.io/openapi/v1/wallet-address/whitelist/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": {
      "requestId":"af52515a-4779-4b7b-898a-b46f283dbc2c",
      "address": "0xb19729c0164f72952F99276802529C21DE71A180",
      "mainNet": "POLYGON",
      "label": "gerry"
 } 
}'

Responses

🟢200成功
application/json
Body
header
object 
required
success
boolean 
required
result
object 
required
id
integer 
required
address
string 
required
mainNet
string 
required
riskLevel
string 
required
label
string 
required
createdTime
string 
required
Example
{
  "header": {
    "success": true
  },
  "result": {
    "id": 1856,
    "address": "0xDDDD40DD84D577254C2F9B9DC1498C339866ED1C",
    "mainNet": "POLYGON",
    "riskLevel": "LOW_RISK",
    "label": "gerry",
    "createdTime": "2025-01-03 11:19:31"
  }
}
Previous
Get Deposit Address
Next
Get Whitelist Address
Built with