WSPN
Language
  • English
Version
  • V1.0
Wallet
Language
  • English
Version
  • V1.0
Wallet
Twitter
Telegram
Linkedin
  1. Transaction
  • Introduction
  • Get Started
  • Signature
  • About WUSD
  • Webhook Service
  • Sandbox Environment
  • Blockchain Confirmations
  • Appendix
  • API Keys
  • 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 Mint Redeem Order
          POST
        • Get Fiat Transaction Receipt
          POST
        • Get Fiat Transaction Order
          POST
        • Get Crypto Transaction Receipt
          POST
        • Get Crypto Transaction Order
          POST
      • User Account
        • Country List
        • Create
        • Batch Create
        • Sub Account
        • Sub Account/Api Key
        • Kyb Submit File
        • Kyb Batch Submit File
        • Kyb Submit Text
      • File Upload
        • File Upload
  1. Transaction

Create Fiat Withdraw

Developing
Sandbox
https://wallet.test.wspn.io
Sandbox
https://wallet.test.wspn.io
POST
/openapi/v1/fiat-transaction/withdraw
API to create fiat withdraw transaction record.
Will initiate a transfer of all the user's balance to the designated bank account
and notify the user once the transaction is completed.
Before creating the transaction, the corresponding fiat withdrawal bank account
must be added(3.2.2 Add Remit Info).
Note: The minimum withdrawal amount is 100.

Request

Body Params text/plain
Example
FieldTypeRequiredMax LengthDescription
queryObjectY
currencyStringYcurrency of the remit bank account must be the same Currency
amountStringY20withdraw currency account all balance, decimal scale: 2, JPY: 0
remitInfoIdNumberY2^63 - 1From Get Remit Info Api Result Id
referenceNoStringN255This will be shown in your bank statement for reconciliation
purposeStringN255purpose of Transfer
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.
Example:{ "query": { "currency": "USD", "amount": "1", "remitInfoId": 1205, "referenceNo": "This will be shown in your bank statement for reconciliation", "purpose": "purpose of Transfer", "requestId": "af5152a-4719-4b17b-v218a-b111bc21" } }

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 'https://wallet.test.wspn.io/openapi/v1/fiat-transaction/withdraw' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "query": {
        "currency": "USD",
        "amount": "1",
        "remitInfoId": 1205, 
        "referenceNo": "This will be shown in your bank statement for reconciliation",  
        "purpose": "purpose of Transfer",
        "requestId": "af5152a-4719-4b17b-v218a-b111bc21"  
    }
}'

Responses

🟢200成功
application/json
Body

Example
{
    "header": {
        "success": true
    },
    "result": {
        "id": 250103163226537,
        "currency": "USD",
        "amount": "1000.00",
        "type": "WITHDRAW",
        "status": "TO_BE_PROCESSED",
        "transactionFee": "0.00",
        "remitInfoId": 1216,
        "referenceNo": "623058099345455",
        "purpose": "purpose of Transfer",
        "createdTime": "2025-01-03 16:32:26"
    }
}
Modified at 2025-07-14 05:56:37
Previous
Create Fiat Deposit
Next
Create Crypto Withdraw
Built with