moist
Docs
moist
Docs
Introduction
AuthenticationBalance APISend Reward API
Moist API Reference

Balance API

Retrieve your organization's current USD balance.

Base URL: https://moist.gg/api/v1Auth: x-api-keyDeveloper plan required

Quick start

Create an API key from your organization settings after subscribing to Developer.

Manage API keys

Retrieve the current balance for your organization.

Endpoint: GET /balance

Headers

NameTypeRequiredDescription
x-api-keystringYesYour API key

Response

{
  "balance": "1000.00",
  "currency": "USD"
}

Example Request

curl -X GET 'https://moist.gg/api/v1/balance' -H 'x-api-key: rpl_your_api_key'

Error Codes

StatusCodeDescription
401unauthorizedInvalid or missing API key
402subscription_requiredDeveloper subscription is required
404not_foundOrganization not found
500server_errorInternal server error

Authentication

Authenticate Moist API requests with organization API keys.

Send Reward API

Send a digital reward to a recipient using organization balance.