API Balance V2 – Stamp Management

Check the stamp balance of your account or your sub-accounts, and add or remove stamps for your customers from your code.

View SDKs
✓Before you start
  1. 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 Authorization header.
  2. 2Find the sub-account’s idUser with Users API V2 › Query.
  3. 3Before using Remove, check its stampsBalance with Query › By ID: you can’t remove more stamps than it has.
💡 Important: My balance returns the stamps of the account that owns the token. By ID, Add, and Remove operate on your sub-accounts.

URLs

Select your active environment. The copy buttons and the code examples below are built with the base URL you choose here.

🛠️ Sandbox:
https://api.test.sw.com.mx
🚀 Production:
https://api.sw.com.mx

🔗 Endpoint

Three actions on the stamp balance. Pick one and its full reference is built below: endpoint, headers, parameters, example, and response.

Request Example

cURL
 Sandbox

💡 Note: These examples are based on the SW SDKs, but you can call the REST API directly from any language you prefer.

Response

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Updated on octubre 29, 2026

Related Articles