---
title: "s&bux API - s&box library"
description: "Game monetization."
canonical: "https://sbox.watch/libraries/sbux/api/"
generated_at: "2026-07-22T23:09:22.932Z"
---

# s&bux API

Game monetization.

- Type: library
- Ident: sbux.api
- Creator: s&bux
- Canonical: https://sbox.watch/libraries/sbux/api/
- Markdown: https://sbox.watch/libraries/sbux/api.md
- sbox.game: https://sbox.game/sbux/api/
- Generated: 2026-07-22T23:09:22.932Z

## Stats

- 24h momentum: +0
- Terry score: 57%
- Favorites: 8
- Upvotes: 9
- Downvotes: 2
- Updated: Aug 10, 2024
- Created: Feb 11, 2024
- Size: 101.2 KB
- Files: 16
- Tags: monetization

## Description

About S&bux API

s&bux is a parody of in-game currencies and can't be bought with real world money.

You get 25 s&bux for free every day you play a supported gamemode. 😃

While in a supported gamemode, enter into your console to view your balance.

How to use

Create a game pass resource

// It may take a second to get a response from the backend. Use this to ensure everything is loaded.
await Monetization.OnLoad();

// Check if a player owns the game pass.
if ( Monetization.Has( gamePass ) )
{
 // Do things...
}

// Prompts the player to purchase the game pass.
// True if the game pass was bought.
// A game pass can be bought multiple times.
if ( await Monetization.Purchase( gamePass ) )
{
 // Do things...
}

Known issues:

First project launch may throw an error due to \#5431 - but will still work.


