v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Gift Card Customers

Validatecustomersession

Validate Customer Session

Check if a customer session token is still valid and return the customer identity. Used by the ambassador to verify customer authentication on protected routes.

Request Body:

  • sessionToken: The session token to validate

Returns:

  • valid: Whether the session is valid
  • customer: Customer identity if session is valid

Status Codes:

  • 200: Session validation result returned
post/v2/giftcards/customers/session

Headers

X-Eposn-Customer-Tokenstring nullable

Request body

sessionTokenstring required

Session token to validate

Response

Successful Response

validboolean required

Example response

{
  "identity": {
    "id": "5eb7cf5a86d9755df3a6c593"
  }
}