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
200SuccessProfile information retrieved
401UnauthorizedInvalid or missing API key
429Too Many RequestsRate limit exceeded
500Internal Server ErrorServer error occurred

Response Format

Field Type Description
messagestringResponse message
dataobjectProfile data object
data.customer_idintegerUnique customer identifier
data.namestringCustomer full name
data.emailstringCustomer email address
data.billing_countrystringBilling country code (ISO 2-letter)
data.preferred_languagestringLanguage preference code
data.currency_codestringPreferred currency code
data.awb_formatstringDefault AWB label format (A4, A6)
data.ibanstringBank account IBAN
data.iban_holderstringIBAN holder name
data.email_verifiedbooleanWhether email is verified
data.phonestringPhone number with country code
data.phone_verifiedbooleanWhether phone is verified
data.wallet_balancenumberCurrent wallet balance
data.wallet_currencystringWallet currency code
data.notification_settingsobjectNotification preferences
data.marketing_settingsobjectMarketing 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