- TranSwap Api v1.8.8
- Access Token
- Accounts
- Contacts
- Conversions
- References
- Transfers
- Wallets
- CallBacks
Get Wallet by Currency
GET
/v1/wallets/{currency}
Wallets
Last modified:2024-09-11 00:41:03
Maintainer:Not configured
Wallet(s)
by Currency
.Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
currency
string <uuid>
required
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 GET '/v1/wallets/'
Responses
🟢200OK
application/json
Body
currency
string
required
account_number
string
required
available_amount
number <double>
optional
reserved_amount
number <double>
optional
pending_amount
number <double>
optional
bank
object (ContactBankAccountDetail)
optional
Recipient
.bank_name
string | null
optional
bank_address
string
optional
bank_country
string | null
required
Example:
US
bank_account_currency
string | null
required
Example:
USD
bank_account_name
string
required
Example:
John Doe
bank_account_number
string
required
ts_bank_code
string | null
required
swift_bic_code
string
optional
bank_code
string | null
optional
sort_code
string | null
optional
iban_code
string | null
optional
bsb_code
string | null
optional
zengin_code
string | null
optional
ifsc_code
string | null
optional
cnaps_code
string | null
optional
aba_routing_number
string | null
optional
Example
{
"id": "411d506e-435e-4b3b-a2bc-1dcc0ff536c0",
"currency": "SGD",
"account_number": "B2004SG00041",
"available_amount": "32000.00000",
"reserved_amount": "0.00000",
"pending_amount": "0.00000",
"bank": {
"bank_name": "Oversea-Chinese Banking Corporation Limited",
"bank_address": "",
"bank_country": "SG",
"bank_account_currency": "SGD",
"bank_account_name": "xxx",
"bank_account_number": "xxx",
"ts_bank_code": "TSSG0034",
"swift_bic_code": "OCBCSGSG",
"bank_code": null,
"sort_code": null,
"iban_code": null,
"bsb_code": null,
"zengin_code": null,
"ifsc_code": null,
"cnaps_code": null,
"aba_routing_number": null
}
}
🟠400Bad Request
🟠401Unauthorized
🟠429429
🔴500Server Error
Modified at 2024-09-11 00:41:03