Wallet

Mobile Wallet API — Endpoints

Complete endpoint reference for the Mobile Wallet API. 28 endpoints across 8 groups.

Base URLs:https://mobileportal.helixapi.com https://uat.mobileportalapi.helixapi.com (UAT)

Get Access Token needed for non Admin APIs authorization

FieldTypeReqDescription
usernamestringUser name
passwordstringPassword
200Login successful
{ "access_token": "string", "expires_in": 0, "refresh_expires_in": 0, "refresh_token": "string", "token_type": "string", "id_token": "string" }
400Bad request
401Request is unauthorized

This API is to get the new Cognito access token using Cognito refresh token

FieldTypeReqDescription
refresh_tokenstringRefresh token
200Token refresh successful
{ "access_token": "string", "expires_in": 0, "refresh_expires_in": 0, "refresh_token": "string", "token_type": "string", "id_token": "string" }
400Bad request
401Request is unauthorized

Registration of new guest

FieldTypeReqDescription
birth_datestringBirth Date of the Guest (format: yyyy-MM-dd)
card_bar_codestringBar code of the card
card_cvvstringCVV of the Card
emailstringEmail Id of the Guest
family_namestringFamily Name / Last Name of the Guest
given_namestringGiven Name / First Name of the Guest
marketing_checkboxbooleanMarketing Checkbox Selection by the Guest
passwordstringPassword of the Guest
phone_numberstringPhone / Mobile Number of the Guest
postal_codestringPostal Code of the Guest
titlestringTitle of the Guest
home_location_idstringHome Store Location Id of the Guest
201Signup successful
400Bad request
401Request is unauthorized

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

NameInTypeReqDescription
emailAddresspathstring
204Password reset triggered
400Bad request
401Request is unauthorized

Confirm the password reset for the guest login. The confirmation code is the one sent by Cognito from the Trigger Reset Guest Password API

NameInTypeReqDescription
emailAddresspathstring
FieldTypeReqDescription
confirmation_codestring6 digit confirmation code for the reset. Sent by Cognito via the Trigger Reset Guest Password API
new_passwordstringThe new password to set
204Password reset successful
400Bad request
401Request is unauthorized

Get Access Token needed for Admin APIs authorization

FieldTypeReqDescription
client_secretstringClient secret
200Success
{ "access_token": "string", "expires_in": 0, "refresh_expires_in": 0, "refresh_token": "string", "token_type": "string", "id_token": "string" }
400Bad request

Disable a card in Apple Wallet and Google Pay

NameInTypeReqDescription
brand_idquerystring
operator_idquerystring
cardNumberpathstring
200Card is disabled in Apple Wallet and Google Pay
{ "apple_wallet": { "status": "Success", "message": "string" }, "google_wallet": { "status": "Success", "message": "string" } }
400Bad request
401Request is unauthorized

Get the signed zip for Apple Pass

NameInTypeReqDescription
cardNumberpathstring
200Apple Pass created
400Bad request
401Request is unauthorized

Get the JWT token for Google Pay Pass

NameInTypeReqDescription
cardNumberpathstring
200Get The JWT Token for Google Pay Pass
400Bad request
401Request is unauthorized

Create Google Pay Pass Loyalty Class

201Create Google Pay Pass Loyalty Class
401Request is unauthorized

Get all the embed cards associated with the guest

NameInTypeReqDescription
sizequeryinteger
sortquerystring
pagequeryinteger
200Success
{ "last": true, "total_pages": 0, "total_elements": 0, "sort": { "unsorted": true, "sorted": true, "empty": true }, "number_of_elements": 0, "first": true, "size": 0, "number": 0, "empty": true, "pageable": { "page_number": 0, "page_size": 0, "offset": 0, "unpaged": true, "paged": true, "sort": { "unsorted": true, "sorted": true, "empty": true } }, "content": [ { "card_number": "string", "bar_code": "string", "nick_name": "string", "created_by": "string", "created_date": "string", "last_modified_by": "string", "last_modified_date": "string", "balance": { "apple_wallet": true, "bonus_balance": 0, "card_number": "string", "card_state": "string", "card_type": "string", "cash_balance": 0, "cumulative_balance": 0, "daily_free_games": 0, "e_cash": 0, "e_tickets": 0, "free_games": 0, "google_pay": true, "last_modified_date": "2024-01-15T10:30:00Z", "p_cash": 0, "recycle_timestamp": "2024-01-15T10:30:00Z", "running_cumulative_balance": 0 }, "activity": [ { "card_number": "string", "bonus_balance": 0, "cash_balance": 0, "cumulative_balance": 0, "running_cumulative_balance": 0, "p_cash": 0, "e_cash": 0, "e_tickets": 0, "daily_free_games": 0, "free_games": 0, "apple_wallet": true, "google_pay": true, "last_modified_date": "2024-01-15T10:30:00Z", "card_state": "string", "date_time": "2024-01-15T10:30:00Z", "reason": "string", "description": "string", "reference_id": "string", "parent_id": "string", "location_name": "string", "reissued_to_card_barcode": "string", "reissued_from_card_barcode": "string" } ] } ] }
400Bad request
401Request is unauthorized

Associate a new card with the guest

FieldTypeReqDescription
bar_codestringBarcode of the card
cvvstringCVV / CVC of the card
nick_namestringNick Name of the card
201New card is associated
{ "card_number": "string" }
400Bad request
401Request is unauthorized

Update the nickname of a card

FieldTypeReqDescription
card_numberstring19 digit full Card Number
nick_namestringNickname of the card
204Nickname is updated
{ "card_number": "0012086890100008729", "nick_name": "VIP Card" }
400Bad request
401Request is unauthorized

Get card details, balance and activity using full card number of the guest

NameInTypeReqDescription
cardNumberpathstring
200Success
{ "card_number": "string", "bar_code": "string", "nick_name": "string", "created_by": "string", "created_date": "string", "last_modified_by": "string", "last_modified_date": "string", "balance": { "apple_wallet": true, "bonus_balance": 0, "card_number": "string", "card_state": "string", "card_type": "string", "cash_balance": 0, "cumulative_balance": 0, "daily_free_games": 0, "e_cash": 0, "e_tickets": 0, "free_games": 0, "google_pay": true, "last_modified_date": "2024-01-15T10:30:00Z", "p_cash": 0, "recycle_timestamp": "2024-01-15T10:30:00Z", "running_cumulative_balance": 0 }, "activity": [ { "card_number": "string", "bonus_balance": 0, "cash_balance": 0, "cumulative_balance": 0, "running_cumulative_balance": 0, "p_cash": 0, "e_cash": 0, "e_tickets": 0, "daily_free_games": 0, "free_games": 0, "apple_wallet": true, "google_pay": true, "last_modified_date": "2024-01-15T10:30:00Z", "card_state": "string", "date_time": "2024-01-15T10:30:00Z", "reason": "string", "description": "string", "reference_id": "string", "parent_id": "string", "location_name": "string", "reissued_to_card_barcode": "string", "reissued_from_card_barcode": "string" } ] }
400Bad request
401Request is unauthorized

Un-register the card from the guest

NameInTypeReqDescription
cardNumberpathstring
204Card is un-registered from the guest
400Bad request
401Request is unauthorized

Get latest balance on the guest card

NameInTypeReqDescription
cardNumberpathstring
brand_idquerystring
200Success
{ "apple_wallet": true, "bonus_balance": 0, "card_number": "string", "card_state": "string", "card_type": "string", "cash_balance": 0, "cumulative_balance": 0, "daily_free_games": 0, "e_cash": 0, "e_tickets": 0, "free_games": 0, "google_pay": true, "last_modified_date": "2024-01-15T10:30:00Z", "p_cash": 0, "recycle_timestamp": "2024-01-15T10:30:00Z", "running_cumulative_balance": 0 }
400Bad request
401Request is unauthorized
404Not Found
409Conflict

Check if a card is available and is not linked to other guest

NameInTypeReqDescription
card_bar_codequerystring
card_cvvquerystring
domainquerystring
200Card is available
{ "card_availability": "Available" }
400Bad request

Recent activities of the guest card

NameInTypeReqDescription
brand_idquerystring
cardNumberpathstring
200Success
[ { "card_number": "string", "bonus_balance": 0, "cash_balance": 0, "cumulative_balance": 0, "running_cumulative_balance": 0, "p_cash": 0, "e_cash": 0, "e_tickets": 0, "daily_free_games": 0, "free_games": 0, "apple_wallet": true, "google_pay": true, "last_modified_date": "2024-01-15T10:30:00Z", "card_state": "string", "date_time": "2024-01-15T10:30:00Z", "reason": "string", "description": "string", "reference_id": "string", "parent_id": "string", "location_name": "string", "reissued_to_card_barcode": "string", "reissued_from_card_barcode": "string" } ]
400Bad request
401Request is unauthorized

Toggle the card state between Active and Suspended

NameInTypeReqDescription
cardNumberpathstring
204Card state change complete
400Bad request
401Request is unauthorized
409Card has Disabled state

Un-register and Disable The Card in Apple Wallet and Google Pay

NameInTypeReqDescription
brand_idquerystring
operator_idquerystring
cardNumberpathstring
204Card is un-registered from the guest and disabled in Apple Wallet and Google Pay
400Bad request
401Request is unauthorized

Get guest's account details

200Success
{ "birthDate": "2024-01-15T10:30:00Z", "country": "string", "createdBy": "string", "createdDate": "2024-01-15T10:30:00Z", "customerId": "string", "customerName": "string", "email": "string", "emailVerified": true, "familyName": "string", "givenName": "string", "id": "string", "lastModifiedBy": "string", "lastModifiedDate": "2024-01-15T10:30:00Z", "marketingCheckbox": "string", "operatorId": "string", "phoneNumber": "string", "phoneNumberVerified": true, "postalCode": "string", "registeredDateTime": "2024-01-15T10:30:00Z", "title": "string", "homeLocationId": "string", "homeLocationName": "string", "walletLanguageCode": "string" }
401Request is unauthorized

Update the guest's account details

FieldTypeReqDescription
birth_datestringBirth Date of the Guest
emailstringEmail Id of the Guest
family_namestringFamily Name / Last Name of the Guest
given_namestringGiven Name / First Name of the Guest
phone_numberstringPhone / Mobile Number of the Guest
postal_codestringPostal Code of the Guest
home_location_idstringHome Store Location Id of the Guest
rsp_codestringRegistration code provided by the staff member assisting with your card registration
auth_typestringInternal
wallet_language_codestringMobile wallet content language preference
marketing_consentbooleanMarketing consent preference
isEmptyboolean
204Success
400Bad request
401Request is unauthorized

Change the guest’s login password

FieldTypeReqDescription
previous_passwordstringPrevious password
proposed_passwordstringProposed password
204Success
400Bad request
401Request is unauthorized

Sign out guest

204Success
401Request is unauthorized

Get promotions for guest

NameInTypeReqDescription
sizequeryinteger
sortquerystring
pagequeryinteger
200Success
{ "last": true, "total_pages": 0, "total_elements": 0, "sort": { "unsorted": true, "sorted": true, "empty": true }, "number_of_elements": 0, "first": true, "size": 0, "number": 0, "empty": true, "pageable": { "page_number": 0, "page_size": 0, "offset": 0, "unpaged": true, "paged": true, "sort": { "unsorted": true, "sorted": true, "empty": true } }, "content": [ { "id": "string", "created_date": "string", "last_modified_date": "string", "created_by": "string", "last_modified_by": "string", "promotion_names": [ { "created_date": "string", "last_modified_date": "string", "created_by": "string", "last_modified_by": "string", "id": "string", "name": "string", "language_code": "string", "language_code_iso": "string" } ], "operator_id": "string", "bonus_balance": 0, "e_tickets": 0, "topup_balance_to": "string", "active": true, "deleted": true, "card_limit": 0 } ] }
400Bad request
401Request is unauthorized

Apply a promotion to a guest card

FieldTypeReqDescription
card_numberstring19 digit full Card Number
promotion_idstringPromotion identifier
200Ok
{ "promotion_transaction_id": "string" }
400Bad request
401Request is unauthorized

Get quick reloads for guest

NameInTypeReqDescription
sizequeryinteger
sortquerystring
pagequeryinteger
200Success
{ "last": true, "total_pages": 0, "total_elements": 0, "sort": { "unsorted": true, "sorted": true, "empty": true }, "number_of_elements": 0, "first": true, "size": 0, "number": 0, "empty": true, "pageable": { "page_number": 0, "page_size": 0, "offset": 0, "unpaged": true, "paged": true, "sort": { "unsorted": true, "sorted": true, "empty": true } }, "content": [ { "id": "string", "created_date": "string", "last_modified_date": "string", "created_by": "string", "last_modified_by": "string", "product_names": [ { "created_date": "string", "last_modified_date": "string", "created_by": "string", "last_modified_by": "string", "id": "string", "name": "string", "language_code": "string", "language_code_iso": "string" } ], "operator_id": "string", "cash_balance": 0, "bonus_balance": 0, "bonus_percentage": 0, "min_reload_amount": 0, "max_reload_amount": 0, "any_amount": true, "e_tickets": 0, "amount": 0, "amount_includes_tax": true, "tax_percentage": 0, "topup_balance_to": "string", "display_order": 0, "active": true, "deleted": true } ] }
400Bad request
401Request is unauthorized

Record a successful online sale transaction on the card

FieldTypeReqDescription
card_barcodestring8 or 10 digit barcode printed on the card
product_idstringProduct id
transaction_idstringPayment transaction id
payment_provider_namestringPayment provider name
qty_soldintegerQuantity sold
datestringTransaction date time
amountnumberAmount
200Record created
{ "id": "string", "message": "string" }
400Bad request
401Request is unauthorized