Browse the docs

Get prepaid balance (deprecated alias)

GET /v1/api-gateway/moon-reserve

Superseded by GET /v1/api-gateway/moon-credit, which is the same endpoint under the current name and returns the identical response. This path keeps working and nothing about its behaviour has changed; point new integrations at moon-credit. Available prepaid balance for the organization. Returns balance: 0 when no prepaid balance account exists yet.

Request

Authentication: your API key in the x-api-key header.

Example request

cURL

curl --request GET \
     --url 'https://api.themooncard.com/v1/api-gateway/moon-reserve' \
     --header 'x-api-key: YOUR_API_KEY'

Responses

200 Success
FieldTypeDescription
balance requirednumberAvailable prepaid balance for the organization.

JSON

{
  "balance": 1250.75
}
401 Error

Missing or invalid credentials, e.g. { "message": "Invalid API Key", "code": "UNAUTHORIZED" }.

The body is the standard error object: see Errors.

500 Error

Unexpected server error. Body is { message: "Internal server error", code: "INTERNAL_SERVER_ERROR" }.

The body is the standard error object: see Errors.

Last updated August 17, 2026