WSPN
Language
  • English
Version
  • V1.0
HomeWallet
Language
  • English
Version
  • V1.0
HomeWallet
Twitter
Telegram
Linkedin
  1. Remit Info
  • 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
          GET
        • Add Remit Info
          POST
        • Edit Remit Info
          POST
        • Get Remit Info
          POST
        • Delete Remit Info
          POST
      • 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. Remit Info

Add Remit Info

Developing
POST
/openapi/v1/remit-info/add
API to add the bank account for withdrawals.

Request

Body Params application/json
requestId
string 
required
A unique identifier for the request.
If the same request is sent again with the same requestId, it will be rejected to prevent duplicate processing.
<= 64 characters
beneficiaryName
string 
required
<= 255 characters
beneficiaryAddress
string 
required
<= 255 characters
beneficiaryBankCountry
string 
required
<= 3 characters
beneficiaryBankName
string 
required
<= 255 characters
beneficiaryAccount
string 
required
<= 255 characters
currency
string 
required
bankType
string 
required
"SWIFT"
<= 32 characters
beneficiaryBankSwiftCode
string 
required
Pattern: [a-zA-Z0-9]
<= 11 characters
beneficiaryBankCity
string 
optional
<= 255 characters
beneficiaryBankAddress
string 
required
<= 255 characters
isIntermediaryRequired
boolean 
required
If the field is true, then the intermediary info is required
intermediaryBankCountry
string 
optional
<= 3 characters
intermediaryBankName
string 
optional
<= 255 characters
intermediaryBankAccount
string 
optional
<= 255 characters
intermediaryBankSwiftCode
string 
optional
Pattern: [a-zA-Z0-9]
<= 3 characters
intermediaryBankCity
string 
optional
<= 255 characters
intermediaryBankAddress
string 
optional
<= 255 characters
Example
FieldTypeRequiredMax LengthDescription
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.
beneficiaryNameStringY255
beneficiaryAddressStringY255
beneficiaryBankCountryStringY3
beneficiaryBankNameStringY255
beneficiaryAccountStringY255
currencyStringY
bankTypeStringY32"SWIFT"
beneficiaryBankSwiftCodeStringY11Pattern: [a-zA-Z0-9]
beneficiaryBankCityStringN255
beneficiaryBankAddressStringY255
isIntermediaryRequiredBooleanYIf the field is true, then the intermediary info is required
intermediaryBankCountryStringN3
intermediaryBankNameStringN255
intermediaryBankAccountStringN255
intermediaryBankSwiftCodeStringN11Pattern: [a-zA-Z0-9]
intermediaryBankCityStringN255
intermediaryBankAddressStringN255
{
  "query": {
    "requestId": "af52c151a-4779-4bdd-811fD1-D2d112",
    "currency": "USD",
    "bankType": "SWIFT",
    "beneficiaryName": "John Doe",
    "beneficiaryAccount": "123456789",
    "beneficiaryAddress": "123 Main St",
    "beneficiaryBankName": "Bank of America",
    "beneficiaryBankAddress": "123 Main St",
    "beneficiaryBankCountry": "US",
    "beneficiaryBankSwiftCode": "BFA",
    "beneficiaryBankCity": "New York",
    "isIntermediaryRequired": "true",
    "intermediaryBankName": "Bank of America",
    "intermediaryBankAddress": "123 Main St",
    "intermediaryBankAccount": "123456789",
    "intermediaryBankSwiftCode": "BFA",
    "intermediaryBankCity": "New York",
    "intermediaryBankCountry": "US"
  }
}

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/remit-info/add' \
--header 'Content-Type: application/json' \
--data-raw '{
    "query": {
        "requestId": "af52c151a-4779-4bdd-811fD1-D2d112", 
        "currency": "USD",
        "bankType": "SWIFT",
        "beneficiaryName": "John Doe",
        "beneficiaryAccount": "123456789",
        "beneficiaryAddress": "123 Main St",
        "beneficiaryBankName": "Bank of America",
        "beneficiaryBankAddress": "123 Main St",
        "beneficiaryBankCountry": "US",
        "beneficiaryBankSwiftCode": "BFA",
        "beneficiaryBankCity": "New York",
        "isIntermediaryRequired": "true",
        "intermediaryBankName": "Bank of America",
        "intermediaryBankAddress": "123 Main St",
        "intermediaryBankAccount": "123456789",
        "intermediaryBankSwiftCode": "BFA",
        "intermediaryBankCity": "New York",
        "intermediaryBankCountry": "US"
    }
}'

Responses

🟢200成功
application/json
Body
header
object 
required
success
boolean 
required
result
object 
required
id
integer 
required
Example
{
  "header": {
    "success": true
  },
  "result": {
    "id": 1216
  }
}
Previous
Get Deposit Remit Info
Next
Edit Remit Info
Built with