Send the administrator's or an authorized operator's API Key and a valid Secret Key to receive the `access_token`.
Integrate sales, customers, dependents, benefits and eligibility with the loyalty engine.
REST API v2 for server-to-server integrations with Bearer Token authentication, explicit scopes, idempotent writes and control of primary and dependent access to plans.
From authentication to automatic reward.
The main use of the API is to register external sales so that Smartbis can process cashback, points, vouchers, and communications according to the account rules.
Use document, phone, or ID to locate and keep the customer synchronized.
Send `sale_amount` by document, phone, or `customer_id` to trigger the loyalty engine.
Check coupons, vouchers, categories, and stock when the operation requires it.
Quick reference of the main endpoints.
This section works as an entry point before the complete Swagger documentation.
Generates the Bearer token to authenticate subsequent calls.
AuthList customers or filter by document, phone, or ID, with optional pagination.
CustomersCreate customer with name, phone, password, and additional data.
CustomersUpdates the supported registration data and allows activating or deactivating the customer via the `active` field.
CustomersLists only the customers directly referred by the specified customer, respecting view permissions. The query does not generate credits; any rewards follow the existing process and appear in the transaction statement.
ReferralsLists own partners and allows querying the details of each record.
PartnersRegisters a partner in accordance with the plan rules and limits.
PartnersUpdates, activates, or deactivates an owned partner.
PartnersThe administrator registers on the main operation. To register in a specific store, use an authorized operator's API Key for that store.
SalesRetrieves the paginated statement, the current balance and, when applicable, the balance composition by partner.
TransactionsLists available coupons/rewards for the operation.
CouponsRegisters a reward using the operation's existing rules and limits.
CouponsUpdates, activates, or deactivates an existing reward.
CouponsUpdate stock of a specific reward.
CouponsLists vouchers with optional pagination.
VouchersValidate voucher by the provided code.
VouchersExecutes an existing manual redemption, checking balance and recording the voucher and the transaction atomically.
VouchersLists the plans for participants configured in the club.
PlansLists subscriptions and allows filtering for active, delinquent, expired or canceled accesses.
SubscriptionsRetrieves dependents linked to the primary and their inherited eligibility.
DependentsRegisters a dependent respecting company, primary and plan limit.
DependentsUpdates the supported dependent data; eligibility remains inherited from the primary holder.
DependentsUpdates, activates, or deactivates a category without removing its existing links.
CategoriesReconciles active lives by plan and period, with pagination.
EligibilityRegisters HTTPS destinations for signed eligibility change events.
WebhooksIssues a signed, short-lived, single-use access link for linked vendors.
AccessActivates, suspends or terminates a participant’s access to a plan without changing billing at the gateway.
SubscriptionsAPI resources organized by operation usage.
This page presents the API domains in product language, while the Swagger documentation maintains schema, parameter, and response details.
Registration, search, update, activation and deactivation by document, phone, or ID, respecting operator visibility.
Register external purchases to generate cashback, points, or vouchers.
Registration, update, activation, deactivation and stock control of rewards.
Query, validation and manual redemption through the official process, with balance verification.
Creation, update, activation and deactivation of the operation's categories.
Maintains owned partners and queries direct referrals without creating a multi-level network or altering rewards.
Queries plans and synchronizes participants’ access status with external systems and providers.
Maintains family links and reconciles active primaries and dependents without transferring clinical data.
Delivers signed events with retries and generates temporary single-use tokens for external vendors.
The API Key identifies who registers the operation. The administrator records sales on the main operation; for a specific store, use an authorized operator's API Key for that store.
Need to connect your own system?
Use the interactive documentation to test endpoints, validate payloads, and implement the appropriate flow for your integration.