WSPN
Language
  • English
Version
  • V1.0
HomeWallet
Language
  • English
Version
  • V1.0
HomeWallet
Twitter
Telegram
Linkedin
  1. Transaction
  • 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
        • Add Whitelist Address
        • Get Whitelist Address
        • Delete Whitelist Address
      • Remit Info
        • Get Deposit Remit Info
        • Add Remit Info
        • Edit Remit Info
        • Get Remit Info
        • Delete Remit Info
      • Transaction
        • Get Balance
          POST
        • Create Fiat Deposit
          POST
        • Create Fiat Withdraw
          POST
        • Create Crypto Withdraw
          POST
        • Get Fiat Transaction
          GET
        • Get Exchange Rate
          POST
        • Create Mint/Redeem
          POST
        • Mint/Redeem History
          POST
        • Get Mint Redeem Receipt
          POST
        • Get Fiat Transaction Receipt
          POST
        • Get Crypto Transaction Receipt
          POST
  1. Transaction

Get Balance

Developing
POST
/openapi/v1/wallet-account/balance
API retrieves the current balance of a specified account.
The balance is returned for the all currency, along with the relevant account
details.

Request

None

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-account/balance'

Responses

🟢200成功
application/json
Body
header
object 
required
success
boolean 
required
resultList
array [object {4}] 
required
currency
string 
required
availableBalance
string 
required
processingBalance
string 
required
totalBalance
string 
required
Example
{
  "header": {
    "success": true
  },
  "resultList": [
    {
      "currency": "WUSD",
      "availableBalance": "0.00",
      "processingBalance": "0.00",
      "totalBalance": "0.00"
    },
    {
      "currency": "USD",
      "availableBalance": "100.00",
      "processingBalance": "0.00",
      "totalBalance": "100.00"
    },
    {
      "currency": "SGD",
      "availableBalance": "0.00",
      "processingBalance": "0.00",
      "totalBalance": "0.00"
    },
    {
      "currency": "AUD",
      "availableBalance": "0.00",
      "processingBalance": "0.00",
      "totalBalance": "0.00"
    },
    {
      "currency": "JPY",
      "availableBalance": "0",
      "processingBalance": "0",
      "totalBalance": "0"
    },
    {
      "currency": "HKD",
      "availableBalance": "0.00",
      "processingBalance": "0.00",
      "totalBalance": "0.00"
    },
    {
      "currency": "GBP",
      "availableBalance": "0.00",
      "processingBalance": "0.00",
      "totalBalance": "0.00"
    },
    {
      "currency": "EUR",
      "availableBalance": "0.00",
      "processingBalance": "0.00",
      "totalBalance": "0.00"
    }
  ]
}
Previous
Delete Remit Info
Next
Create Fiat Deposit
Built with