Managing Billing Details

Actions such as purchasing a subscription must be done manually via the account settings page.

There are some API endpoints you can use to check the account subscription status and to monitor your credit balance.

Credit Usage

The credit cost of each generation type is shown on the web app.

When an error occurs while a task is being processed, the credits are automatically refunded to your account. A list of all actions taken by the account that subtract or add credits can be viewed on the account settings page. This includes refunds and credit gains from subscriptions.


GET/v1/billing

Credit balance and subscription status

Response properties

  • Name
    remaining
    Type
    integer
    Description

    The remaining credit balance

  • Name
    subscription
    Type
    string|null
    Description

    One of the following string values: creator, indie or studio. The property can be null if the account has no active subscription.

Request

GET
/v1/billing
curl --request GET \
    --url https://api.goneural.ai/v1/billing \
    --header 'Authorization: Bearer <token>' \
    --header 'Accept: application/json'

Response: Active subscription

{
    "remaining": 750,
    "subscription": "studio"
}

Response: No subscription

{
    "remaining": 0,
    "subscription": null
}

Was this page helpful?