Direct API
Account Profile
Retrieve complete account profile information
GET
/account/profile
Retrieve complete account profile information including personal details, preferences, and settings
Response Codes
| Code | Status | Description |
|---|---|---|
| 200 | Success | Profile information retrieved |
| 401 | Unauthorized | Invalid or missing API key |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error occurred |
Response Format
| Field | Type | Description |
|---|---|---|
| message | string | Response message |
| data | object | Profile data object |
| data.customer_id | integer | Unique customer identifier |
| data.name | string | Customer full name |
| data.email | string | Customer email address |
| data.billing_country | string | Billing country code (ISO 2-letter) |
| data.preferred_language | string | Language preference code |
| data.currency_code | string | Preferred currency code |
| data.awb_format | string | Default AWB label format (A4, A6) |
| data.iban | string | Bank account IBAN |
| data.iban_holder | string | IBAN holder name |
| data.email_verified | boolean | Whether email is verified |
| data.phone | string | Phone number with country code |
| data.phone_verified | boolean | Whether phone is verified |
| data.wallet_balance | number | Current wallet balance |
| data.wallet_currency | string | Wallet currency code |
| data.notification_settings | object | Notification preferences |
| data.marketing_settings | object | Marketing preferences |
Response Example
RESPONSEJSON
{
"message": "Profile retrieved successfully",
"data": {
"customer_id": 11,
"name": "John Smith",
"email": "john.smith@example.com",
"billing_country": "RO",
"preferred_language": "ro",
"currency_code": "EUR",
"awb_format": "A4",
"iban": "RO49AAAA1B31007593840000",
"iban_holder": "John Smith",
"email_verified": true,
"phone": "+40123456789",
"phone_verified": false,
"wallet_balance": 100,
"wallet_currency": "RON",
"notification_settings": {
"receive_delivery_alerts": true,
"email_delivery_alerts": "john.smith@example.com",
"receive_bordero": true,
"email_bordero": "john.smith@example.com",
"confirmation_alert": true,
"email_confirmation": "john.smith@example.com",
"sms_recipient_notification": true
},
"marketing_settings": {
"email_notifications": false,
"sms_notifications": false
}
}
}Complete API Reference
For interactive testing and additional technical details, visit our complete Swagger documentation.
View in Swagger Documentation
