Check the stamp balance of your account or your sub-accounts, and add or remove stamps for your customers from your code.
View SDKs- 1Get a Bearer Token for your dealer account using your SW username and password. We recommend using an infinite (non-expiring) token. All operations require it in the
Authorizationheader. - 2Find the sub-account’s
idUserwith Users API V2 › Query. - 3Before using Remove, check its
stampsBalancewith Query › By ID: you can’t remove more stamps than it has.
URLs
Select your active environment. The copy buttons and the code examples below are built with the base URL you choose here.
🔗 Endpoint
Three actions on the stamp balance. Pick one and its full reference is built below: endpoint, headers, parameters, example, and response.
Adds a number of stamps to one of your sub-accounts. The response returns its new balance.
Checks the available, used, and assigned stamps of the account linked to the token.
Checks the available stamps of one of your sub-accounts, filtered by its ID.
Removes a number of stamps from one of your sub-accounts. The response returns its new balance.
Request Example
Response
📋 data.lastTransaction fields
The object has 10 fields describing the account’s latest stamp transaction, whether a top-up or a removal. Click View all 10 fields to expand the table.