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 keysRetrieve the current balance for your organization.
Endpoint: GET /balance
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| x-api-key | string | Yes | Your 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
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Invalid or missing API key |
| 402 | subscription_required | Developer subscription is required |
| 404 | not_found | Organization not found |
| 500 | server_error | Internal server error |