Get my account info
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET /api-v1/myaccount
curl \
-X GET http://10.10.10.132/api-v1/myaccount \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"addresses": [
{
"city": "string",
"countryCode2": "string",
"countryId": 42,
"houseNumber": "string",
"id": 42,
"line1": "string",
"line2": "string",
"name": "string",
"position": 42,
"postCode": "string",
"readOnly": true,
"region": {
"code": "string",
"id": 42,
"name": "string",
"taxMode": "ANNUALLY"
},
"service": "string",
"toTheAttentionOf": "string"
}
],
"archived": true,
"avatarId": 42,
"banks": [
{
"accountHolderAddress": {
"city": "string",
"countryCode2": "string",
"countryId": 42,
"houseNumber": "string",
"id": 42,
"line1": "string",
"line2": "string",
"name": "string",
"position": 42,
"postCode": "string",
"readOnly": true,
"region": {
"code": "string",
"id": 42,
"name": "string",
"taxMode": "ANNUALLY"
},
"service": "string",
"toTheAttentionOf": "string"
},
"accountNumber": "string",
"bankCustomerNumber": "string",
"bankName": "string",
"chartOfAccounts": 42,
"customHolder": true,
"id": 42,
"isrCustomerNumber": "string",
"name": "string",
"position": 42,
"qrIban": "string",
"remark": "string",
"swiftBic": "string",
"useForReconciliation": true
}
],
"birthday": "string",
"defaultLanguage": "EN",
"defaultModule": "ALL",
"ecorrespondence": true,
"email": "string",
"fax": "string",
"firstName": "string",
"gender": "MALE",
"id": 42,
"isFreeTier": true,
"lastName": "string",
"licenceType": "FREE",
"middleName": "string",
"mobile": "string",
"nationalityCountryId": 42,
"organizationId": 42,
"pdfPassword": "string",
"phone": "string",
"warnings": "string",
"webSite": "string"
}