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

Mint/Redeem History

Developing
POST
/openapi/v1/mint-redeem/search
This API allows users to paginate and query the history of their mint and redeem
transactions.

Request

Body Params text/plain
Example
FieldTypeRequiredMax LengthDescription
queryObjectY
sellCurrencyStringN
buyCurrencyStringN
createdTimeStartStringN
createdTimeEndStringN
pageObjectY
currentNumberY2^63 - 1
sizeNumberY2^63 - 1return max value:50
Example:{ "query": { "sellCurrency": "USD", "buyCurrency": "WUSD", "createdTimeStart": "2025-01-01 18:33:12", "createdTimeEnd": "2025-01-03 18:33:12" }, "pagination": { "current": 1, "size": 10 } }

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/mint-redeem/search' \
--header 'Content-Type: text/plain' \
--data-raw '{
 "query": {
  "sellCurrency": "USD",
  "buyCurrency": "WUSD",
  "createdTimeStart": "2025-01-01 18:33:12",
  "createdTimeEnd": "2025-01-03 18:33:12"
 },
 "pagination": {
  "current": 1,
  "size": 10
 }
}'

Responses

🟢200成功
application/json
Body
header
object 
required
success
boolean 
required
resultList
array [object {9}] 
required
id
integer 
optional
status
string 
optional
sellCurrency
string 
optional
buyCurrency
string 
optional
sellAmount
string 
optional
buyAmount
string 
optional
rate
string 
optional
createdTime
string 
optional
completedTime
string 
optional
Example
{
  "header": {
    "success": true
  },
  "resultList": [
    {
      "id": 250103125,
      "status": "COMPLETED",
      "sellCurrency": "USD",
      "buyCurrency": "WUSD",
      "sellAmount": "1000.00",
      "buyAmount": "900.00",
      "rate": "0.9",
      "createdTime": "2025-01-03 17:48:35",
      "completedTime": "2025-01-03 17:48:37"
    }
  ],
  "pagination": {
    "current": 1,
    "size": 10,
    "pages": 1,
    "total": 1
  }
}
Previous
Create Mint/Redeem
Next
Get Mint Redeem Receipt
Built with