> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# About Session Metadata

Appcharge supports the use of the sessionMetadata field in most of our APIs to include contextual information about a player's session. We recommend using sessionMetadata for any additional data that is not strictly required by Appcharge to execute a flow, but which can help publishers add context, assist with debugging, or store custom attributes. The sessionMetadata entity is JSON-based and provides a flexible container for storing relevant session details.

**Checkout Only Solution Flow**

1. The publisher sends sessionMetadata when calling the [Create Checkout Session API](https://docs.appcharge.com/api-reference/checkout/checkout-session/create-checkout-session.md).
2. Appcharge stores the sessionMetadata in the Player Checkout Session.
3. The sessionMetadata is returned to the publisher in the [Grant Award Callback](https://docs.appcharge.com/api-reference/checkout/orders/player-order-reporting-webhook.md) and in player session-related [Order Events](https://docs.appcharge.com/api-reference/events/v2/order/order_created.md)

**Web Store Solution Flow**

1. The sessionMetadata is included in the response to the [Authenticate Player Callback](https://docs.appcharge.com/api-reference/webstore/player-authentication/authenticate-player-callback.md)
2. Appcharge stores the sessionMetadata in the Player Session.
3. The sessionMetadata can be overridden by the response from the [Personalize Web Store Callback ](https://docs.appcharge.com/../../api-reference/webstore/personalization/personalize-webstore-callback)
4. The sessionMetadata is returned to the publisher in the [Grant Award Callback](https://docs.appcharge.com/api-reference/checkout/orders/player-order-reporting-webhook.md) and in other player session-related events.

..
