Mobile Wallet API — Endpoints
Complete endpoint reference for the Mobile Wallet API. 28 endpoints across 8 groups.
Get Access Token needed for non Admin APIs authorization
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| username | string | ✓ | User name |
| password | string | ✓ | Password |
Responses
This API is to get the new Cognito access token using Cognito refresh token
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| refresh_token | string | ✓ | Refresh token |
Responses
Registration of new guest
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| birth_date | string | ✓ | Birth Date of the Guest (format: yyyy-MM-dd) |
| card_bar_code | string | ✓ | Bar code of the card |
| card_cvv | string | ✓ | CVV of the Card |
| string | ✓ | Email Id of the Guest | |
| family_name | string | Family Name / Last Name of the Guest | |
| given_name | string | ✓ | Given Name / First Name of the Guest |
| marketing_checkbox | boolean | ✓ | Marketing Checkbox Selection by the Guest |
| password | string | ✓ | Password of the Guest |
| phone_number | string | Phone / Mobile Number of the Guest | |
| postal_code | string | Postal Code of the Guest | |
| title | string | ✓ | Title of the Guest |
| home_location_id | string | Home Store Location Id of the Guest |
Responses
Trigger password reset for a guest login. An email will be sent to the guest’s email by Cognito containing the confirmation code that is required to change the guest’s password
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| emailAddress | path | string | ✓ |
Responses
Confirm the password reset for the guest login. The confirmation code is the one sent by Cognito from the Trigger Reset Guest Password API
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| emailAddress | path | string | ✓ |
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| confirmation_code | string | ✓ | 6 digit confirmation code for the reset. Sent by Cognito via the Trigger Reset Guest Password API |
| new_password | string | ✓ | The new password to set |
Responses
Get Access Token needed for Admin APIs authorization
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| client_secret | string | ✓ | Client secret |
Responses
Disable a card in Apple Wallet and Google Pay
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| brand_id | query | string | ||
| operator_id | query | string | ||
| cardNumber | path | string | ✓ |
Responses
Get the signed zip for Apple Pass
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| cardNumber | path | string | ✓ |
Responses
Get the JWT token for Google Pay Pass
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| cardNumber | path | string | ✓ |
Responses
Create Google Pay Pass Loyalty Class
Responses
Get all the embed cards associated with the guest
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| size | query | integer | ||
| sort | query | string | ||
| page | query | integer |
Responses
Associate a new card with the guest
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| bar_code | string | ✓ | Barcode of the card |
| cvv | string | ✓ | CVV / CVC of the card |
| nick_name | string | Nick Name of the card |
Responses
Update the nickname of a card
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| card_number | string | ✓ | 19 digit full Card Number |
| nick_name | string | Nickname of the card |
Responses
Get card details, balance and activity using full card number of the guest
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| cardNumber | path | string | ✓ |
Responses
Un-register the card from the guest
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| cardNumber | path | string | ✓ |
Responses
Get latest balance on the guest card
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| cardNumber | path | string | ✓ | |
| brand_id | query | string |
Responses
Check if a card is available and is not linked to other guest
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| card_bar_code | query | string | ||
| card_cvv | query | string | ||
| domain | query | string |
Responses
Recent activities of the guest card
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| brand_id | query | string | ||
| cardNumber | path | string | ✓ |
Responses
Toggle the card state between Active and Suspended
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| cardNumber | path | string | ✓ |
Responses
Un-register and Disable The Card in Apple Wallet and Google Pay
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| brand_id | query | string | ||
| operator_id | query | string | ||
| cardNumber | path | string | ✓ |
Responses
Get guest's account details
Responses
Update the guest's account details
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| birth_date | string | Birth Date of the Guest | |
| string | Email Id of the Guest | ||
| family_name | string | Family Name / Last Name of the Guest | |
| given_name | string | Given Name / First Name of the Guest | |
| phone_number | string | Phone / Mobile Number of the Guest | |
| postal_code | string | Postal Code of the Guest | |
| home_location_id | string | Home Store Location Id of the Guest | |
| rsp_code | string | Registration code provided by the staff member assisting with your card registration | |
| auth_type | string | Internal | |
| wallet_language_code | string | Mobile wallet content language preference | |
| marketing_consent | boolean | Marketing consent preference | |
| isEmpty | boolean |
Responses
Change the guest’s login password
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| previous_password | string | ✓ | Previous password |
| proposed_password | string | ✓ | Proposed password |
Responses
Sign out guest
Responses
Get promotions for guest
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| size | query | integer | ||
| sort | query | string | ||
| page | query | integer |
Responses
Apply a promotion to a guest card
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| card_number | string | ✓ | 19 digit full Card Number |
| promotion_id | string | Promotion identifier |
Responses
Get quick reloads for guest
Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| size | query | integer | ||
| sort | query | string | ||
| page | query | integer |
Responses
Record a successful online sale transaction on the card
Request Body
| Field | Type | Req | Description |
|---|---|---|---|
| card_barcode | string | ✓ | 8 or 10 digit barcode printed on the card |
| product_id | string | ✓ | Product id |
| transaction_id | string | ✓ | Payment transaction id |
| payment_provider_name | string | ✓ | Payment provider name |
| qty_sold | integer | ✓ | Quantity sold |
| date | string | ✓ | Transaction date time |
| amount | number | Amount |
Responses
