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 Deposit

Sandbox
https://wallet.test.wspn.io
Sandbox
https://wallet.test.wspn.io
POST
/openapi/v1/fiat-transaction/deposit
API to create a fiat deposit transaction record and provide the corresponding
bank transfer record number.
After receiving the bank transfer, a notification will be sent to the user.

Request

Body Params text/plain
Example
FieldTypeRequiredMax LengthDescription
queryObjectY
currencyStringYcurrency of the remit bank account must be the same Currency
amountStringY20Deposit amount, decimal scale: 2, JPY: 0
referenceNoStringY255Bank transfer record number , not required if greenLinkVA is Yes
customerRemarkStringN255Remark
remitInfoIdNumberY2^63 - 1currency of the remit bank account must be the same Currency;3.2.1 Get Deposit Remit Info Return
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.
fileIdListArrayY2The fileId returned by the File Upload interface, not required if greenLinkVA is Yes
greenLinkVAStringN3Null or Yes or No, default Null
Example:{ "query": { "requestId":"af515a-4729-4b7b-v2d1a-b146dbc21", "currency": "USD", "amount": "1", "remitInfoId": 1, "referenceNo": "customer bank transfer NO.", "customerRemark": "customerRemark", "fileIdList": [1786,1787], "greenLinkVA": "No" } }

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/deposit' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "query": {
        "requestId":"af515a-4729-4b7b-v2d1a-b146dbc21", 
        "currency": "USD",
        "amount": "1",
        "remitInfoId": 1,   
        "referenceNo": "customer bank transfer NO.", 
        "customerRemark": "customerRemark",
        "fileIdList": [1786,1787],
        "greenLinkVA": "No"
    }
}'

Responses

🟢200成功
application/json
Body

Example
{
    "header": {
        "success": true
    },
    "result": {
        "id": 250103134318531,
        "currency": "USD",
        "amount": "1.00",
        "type": "DEPOSIT",
        "status": "TO_BE_CONFIRMED",
        "remitInfoId": 1,
        "referenceNo": "customer bank transfer NO.",
        "customerRemark": "customerRemark",
        "createdTime": "2025-01-03 13:43:18"
    }
}
Modified at 2025-07-02 02:32:18
Previous
Get Balance
Next
Create Fiat Withdraw
Built with