- TranSwap Api v1.8.8
- Access Token
- Accounts
- Contacts
- Conversions
- References
- Transfers
- Wallets
- CallBacks
Get current Account
GET
/v1/accounts
Accounts
Last modified:2024-09-11 00:41:03
Maintainer:Not configured
Account
associated with provided access_token
.Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
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/accounts'
Responses
🟢200OK
application/json
Body
optional
id
string <uuid>
optional
account_number
string  | nullÂ
optional
type
enum<string>Â
AccountTypes
personal
,business
or mto
Allowed values:
personalbusinessmto
Example:
business
personal
objectÂ
ContactPersonal
ContactPersonalView
and ContactPersonalModel
.Examples
{
"id": "8bf1af3d-ed1b-4431-896a-544f76c4aa8b",
"account_number": "B2012032F",
"type": "business",
"business": {
"business_name": "Submersible Pte Ltd",
"business_reg_number": "2015928F",
"date_of_incorporation": "2015-02-15",
"country_of_incorporation": "SG",
"country_of_operation": "SG",
"industry_category": "Information Technology",
"industry_sub_category": "Software Consultant",
"website": "www.submersible.io",
"email": "contact@submersible.io",
"phone_number": "",
"mobile_number": "",
"mobile_number_prefix": "",
"address": {
"line1": "182 CapitaGreen #43-01",
"line2": "",
"city": "SG",
"state_or_province": "",
"country": "SG",
"postal": "164004"
}
},
"staffs": [
{
"first_name": "Adam",
"middle_name": "",
"last_name": "Levine",
"other_name": "張伯涵",
"gender": "male",
"date_of_birth": "1990-04-24T02:10:10.2082487+00:00",
"nationality": "SG",
"email": "adam.levine@submersible.io",
"mobile_number": "82737282",
"mobile_number_prefix": "+65",
"country_of_birth": "SG",
"occupation": "IT Analyst",
"industry_category": "IT",
"industry_sub_category": "Software Consultant",
"identification": {
"id_type": "nric",
"id_number": "S8129302H"
},
"address": {
"line1": "119 Novena High",
"line2": "Merlion Tower #22-12",
"city": "SG",
"state_or_province": "SG",
"country": "SG",
"postal": "165839"
}
}
]
}
🟠400Bad Request
🟠401Unauthorized
🟠429429
🔴500Server Error
Modified at 2024-09-11 00:41:03