List wallet items
GET/v1/members/{id}/wallet
GET/v1/members/me/wallet
Returns the member's wallet items. Without a filter you get only available items, which is what a rewards screen shows.
Permissions: {id}: secret key with members:read. me: member token.
Guide
Points and rewardsPath parameters#
idstring (uuid)Required
Query parameters#
statusstringavailable(default),reserved,usedorexpired.Default availableOne ofavailable,reserved,used,expiredlimitinteger1 to 100. Default 25.Min 1Max 100Default 25cursorstringnext_cursorfrom the previous page. See Pagination.
Show expires_at next to each item, in the guest's time zone: Maya's pastry expires at the end of November 12 in Austin. To know whether an item works on the current cart (right items, right time, right location), call preview; don't check the rules yourself.
Response fields#
Returns 200 with list of WalletItem
dataarray of WalletItemShow attributesWalletItem
idstring (uuid)Send this aswallet_item_idon previews and redemptions.rewardRewardThe reward, in the same shape as the catalog, withkind: "wallet"and nopoints_cost. Itsrulesapply at checkout.Show attributesReward
idstring (uuid)Send this asreward_idon previews and redemptions.namestringFor exampleFree drip coffee.descriptionstringShort text for the guest.image_urlstring (uri)NullableHTTPS image URL.kindstringpoints(catalog) orwallet(given to one member). May grow.One ofpoints,walletpoints_costintegerPoints the reward costs. Only onpointsrewards; wallet rewards don't have it.discountDiscountShow attributesDiscount
typestringOne ofamount,percent,free_item,bogoamount_centsintegerForamount.percentnumberForpercent.itemsarray of objectItem scope, by Square variation id.categoriesarray of objectCategory scope.max_itemsinteger
rulesRulesShow attributesRules
min_subtotal_centsintegerInteger cents.Min 0channelsarray of stringOne ofapp,weblocation_idsarray of string (uuid)fulfillmentarray of stringOne ofpickup,delivery,curbside,dine_inavailable_timesarray of AvailableTimetier_idsarray of string (uuid)
starts_atstring (date-time)NullableWhen the reward becomes available.nullmeans it already is.ends_atstring (date-time)NullableWhen it stops being available.nullmeans no end date.
sourcestringHow the member got it. See the table below. May grow.One oftier,offer,challenge,journey,support,birthdayoffer_idstring (uuid)NullableThe offer, whensourceisoffer.statusstringavailable,reserved,usedorexpired.One ofavailable,reserved,used,expiredissued_atstring (date-time)When it landed in the wallet.expires_atstring (date-time)NullableAfter this time it can't be used.nullmeans it doesn't expire.used_atstring (date-time)NullableWhen an order used it.order_idstring (uuid)NullableThe order that used it.
has_morebooleanTrue when another page exists.next_cursorstringNullablePass ascursorto get the next page.
Error descriptions#
400Bad request
invalid_param
status isn't one of the four values.
401Unauthorized
token_expired
The member token expired. Get a new one from your server.
404Not found
member_not_found
No member with this id.
410Gone
member_deleted
The member was deleted.
Any endpoint can also return the common errors.