WSPN
Language
  • English
Version
  • V1.0
HomeWallet
Language
  • English
Version
  • V1.0
HomeWallet
Twitter
Telegram
Linkedin
  1. Core Functionality
  • 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
        • 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. Core Functionality

Quickstart: Deposit via Funds Transfer

Learn the basics of sending funds to your WSPN account from an external bank account.
Sending funds to your WSPN Account from an external bank account is one of the basic primitives (building blocks) enabled by the APIs. This quickstart walks through depositing USD from an external bank account. You can follow the same steps when sending EUR as well.

1. Get an API key#

WSPN's APIs use API Keys as the mechanism to authenticate client requests. The API key must be set in the Authorization header of the request sent from your backend server. The format of the header is Bearer access_token.
To obtain an API key for the sandbox environment, simply create an account and generate a new key in settings - it only takes a few seconds.
GET AN API KEY
Once you have generated your API key, record it in a secure place.

2. Get Deposit Remit Info#

Obtain the WSPN corporate bank account for receiving deposits and deposit funds into that account. you can use the Get Deposit Remit Info API endpoint.
Request:
Response
{
  "header": {
    "success": true
  },
  "result": {
    "id": 1,
    "currency": "USD",
    "beneficiaryName": "WSPN",
    "beneficiaryAccount": "12345",
    "beneficiaryBankName": "DBS",
    "beneficiaryBankCountry": "SGP",
    "beneficiaryBankSwiftCode": "DBSSSGSG"
  }
}

3. Deposit to your account#

Make a wire transfer from the bank where your funds are located to the WSPN corporate bank account obtained in step 2.
Before the transfer, you must confirm that the wire transfer details are correct to avoid any delays or bank returns.

4. Create Fiat Deposit#

After completing the wire transfer from the external bank to the WSPN corporate account, submit the fiat deposit transaction record and provide the corresponding bank transfer reference number.
Once the bank transfer is successful, a notification will be sent to the user, and the funds will be credited to your WSPN account.To that end, you can use the Create Fiat Deposit API endpoint.
Request:
Response
{
  "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"
  }
}

5. Get Fiat Deposit Info#

After completing the fiat recharge transfer and submitting the recharge record, you can use the Get Fiat Transaction API to obtain the status information of the fiat recharge entry.
Request:
Response
{
  "header": {
    "success": true
  },
  "result": {
    "id": 250103134318531,
    "currency": "USD",
    "amount": "1.00",
    "type": "DEPOSIT",
    "status": "TO_BE_CONFIRMED",
    "remitInfoId": 1,
    "referenceNo": "customer bank transfer NO.",
    "createdTime": "2025-01-03 13:43:18",
    "lastUpdatedTime": "2025-01-03 13:43:18"
  }
}
šŸŽ‰ Congratulations. You have successfully Deposit fiat using WSPN's APIs.
Previous
Quickstart: Withdraw via Blockchain Wallet
Next
Quickstart: Withdraw to Bank
Built with