{
"name": "Get Session",
"route": "GET /customer/me",
"description": "Get current logged in user and merchant information.",
"parameters": [],
"body": null,
"response": {
"success": {
"code": 200,
"data": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"merchant": {
"id": "string",
"name": "string",
"domain": "string"
},
"serverTime": "string (ISO 8601 date)",
"stripePublishableKey": "string"
}
},
"error": [
{
"code": 401,
"description": "Unauthorized - User is not authenticated"
},
{
"code": 403,
"description": "Forbidden - User does not have permission to access this resource"
}
]
},
"notes": [
"This endpoint requires authentication (InternalGuard and AuthorizationGuard).",
"The response includes user information, associated merchant details, server time, and Stripe publishable key."
]
}