- Introduction
- Get Started
- Signature
- What is WUSD
- Webhook Service
- Sandbox Environment
- Blockchain Confirmations
- Appendix
- API Keys
- Core Functionality
- Api Reference
- Authentication
- Wallet
- Address
- Remit Info
- Transaction
Edit Remit Info
Developing
POST
/openapi/v1/remit-info/edit
Request
Body Params text/plain
Example
Field | Type | Required | Max Length | Description |
---|---|---|---|---|
query | Object | Y | ||
id | Number | Y | 2^63 - 1 | |
requestId | String | Y | 64 | 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. |
beneficiaryAddress | String | Y | 255 | |
beneficiaryBankCountry | String | Y | 3 | |
beneficiaryBankName | String | Y | 255 | |
beneficiaryAccount | String | Y | 255 | |
currency | String | Y | ||
bankType | String | Y | 32 | "SWIFT" |
beneficiaryBankSwiftCode | String | Y | 11 | Pattern: [a-zA-Z0-9] |
beneficiaryBankCity | String | N | 255 | |
beneficiaryBankAddress | String | Y | 255 | |
isIntermediaryRequired | Boolean | Y | If the field is true, then the intermediary info is required | |
intermediaryBankCountry | String | N | 3 | |
intermediaryBankName | String | N | 255 | |
intermediaryBankAccount | String | N | 255 | |
intermediaryBankSwiftCode | String | N | 11 | Pattern: [a-zA-Z0-9] |
intermediaryBankCity | String | N | 255 | |
intermediaryBankAddress | String | N | 255 |
Example:{
"query": {
"requestId": "af551a-4779-4bdd-811fD1-D234d112",
"id": 1207,
"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/edit' \
--header 'Content-Type: text/plain' \
--data-raw '{
"query": {
"requestId": "af551a-4779-4bdd-811fD1-D234d112",
"id": 1207,
"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
currency
string
required
bankType
string
required
beneficiaryName
string
required
beneficiaryAccount
string
required
beneficiaryAddress
string
required
beneficiaryBankName
string
required
beneficiaryBankAddress
string
required
beneficiaryBankCountry
string
required
beneficiaryBankSwiftCode
string
required
beneficiaryBankCity
string
required
isIntermediaryRequired
boolean
required
intermediaryBankName
string
required
intermediaryBankAddress
string
required
intermediaryBankAccount
string
required
intermediaryBankSwiftCode
string
required
intermediaryBankCity
string
required
intermediaryBankCountry
string
required
createdTime
string
required
lastUpdatedTime
string
required
Example
{
"header": {
"success": true
},
"result": {
"id": 1217,
"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",
"createdTime": "2025-01-03 12:07:17",
"lastUpdatedTime": "2025-01-03 12:09:03"
}
}