Connect multiple wallets to aggregate points, earnings, and holdings to enhance your loyalty experience.
userGroupId
property in the user’s account metadata, which connects different wallets to the same group.
POST /api/users/metadatas
endpoint to set or update user group connections. You can use either:
userGroupId
- Snag’s internal identifier for the user groupuserGroupExternalIdentifier
- Your custom external identifier for the groupuserGroupExternalIdentifier
allows you to maintain your own mapping between user groups and your external systems:
userGroupExternalIdentifier
, Snag will create a userGroupId
internally and associate this external identifier with it. This allows you to reference user groups using your own identifiers in subsequent API calls.
GET /api/loyalty/accounts
endpoint allows you to fetch points balances and other data for all wallets in a group by providing either:
userGroupId
parameter for Snag’s internal group IDuserGroupExternalIdentifier
parameter for your custom external identifier