Checking access…

Skip to main content
Version: v1Audience: Consumers, CCG Platform Engineers

Guest vs Wallet Experience

When to use this page

If you need to choose or implement Guest vs Wallet Experience in the checkout experience, use this page.

The session object is used to determine whether the wallet or guest experience will be displayed for the user. Here is a sample session object:

Session Object Sample
{
"payment": {
"merchantTransactionId": "xxx-xxx-xxx-xxx-xxx",
"amount": 1500,
"authorizeCard": true,
"metaData": {}
},
"customer": {
"email": "<email>",
"enterpriseId": "<enterpriseId>",
"hsid": "<hsid">,
"metaData": {
"userId": "<userId>"
}
}
}

wallet experience is displayed if one of the following is provided:

  • customer.enterpriseId has a valid value
  • customer.hsid has a valid value
  • (or) customer.metadata is a non-null object with valid Merchant Identifiers (MCID)

otherwise guest experience is displayed.