GET api/Contact/{handle}/Account?user={user}
Get the user account details of a contact
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| handle |
Handle of a contact |
string |
Required |
| user |
Optional user handle - if empty logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
User account object on success
Collection of errors on failure
Return codes
200 - ok
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error
| Name | Description | Type | Additional information |
|---|---|---|---|
| Account |
Amount of users account |
decimal number |
Required |
| AuthorizedBank |
Authorized credit |
decimal number |
Required |
| LastUpdate |
Last update date |
date |
None. |
| VerifyAutoRenew |
Verify funds when doing auto renewals |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Account": 1.0,
"AuthorizedBank": 1.0,
"LastUpdate": "2025-12-12T19:15:09.4184452+01:00",
"VerifyAutoRenew": true
}
application/xml, text/xml
Sample:
<UserAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Contact"> <Account>1</Account> <AuthorizedBank>1</AuthorizedBank> <LastUpdate>2025-12-12T19:15:09.4184452+01:00</LastUpdate> <VerifyAutoRenew>true</VerifyAutoRenew> </UserAccount>