{{ translate('Retrieves details of the account associated with the provided API key') }}
{{ translate('GET') }}{{ route('api.account.details') }}
({{ translate('required') }})
{{ translate('Success Response') }}:
{
"status": "{{ translate('success') }}",
"data": {
"name": {
"firstname": "John",
"lastname": "Doe",
"full_name": "John Doe"
},
"username": "johndoe",
"email": "john.doe@example.com",
"balance": 100.00,
"currency": "{{ defaultCurrency()->code }}",
"profile": {
"heading": "Profile Heading",
"description": "Profile Description",
"contact": {
"email": "contact@example.com"
},
"social_links": [
"facebook": "/",
"x": "/",
// etc...
],
"media": {
"avatar": "https://example.com/avatar.jpg",
"cover": "https://example.com/cover.jpg"
}
},
"registered_at": "2024-04-27T12:00:00Z"
}
}
{{ translate('Error Response') }}:
{
"status": "{{ translate('error') }}",
"msg": "{{ translate('Invalid request') }}"
}