mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-25 08:24:00 +02:00
title
| title |
|---|
| Balance |
Balance
A balance API resource represents an account balance against usage or upcoming charges for the given month.
Fields
| Name | Type | Nullable | Description |
|---|---|---|---|
| id | Integer | No | The primary key of the resource |
| date | Date | No | The given month that the account balance applies to |
| service | Enum | No | The service that is billing AnimeThemes {Other, DigitalOcean, AWS, Hover, WalkerServers} |
| frequency | Enum | No | The frequency that AnimeThemes is billed by the service {Once, Annually, Biannually, Quarterly, Monthly} |
| usage | Decimal | No | The amount of services consumed by AnimeThemes in the billing period |
| month_to_date_balance | Decimal | No | The balance of the AnimeThemes account with consideration to usage |
| created_at | Date | No | The date that the resource was created |
| updated_at | Date | No | The date that the resource was last modified |
| deleted_at | Date | Yes | The date that the resource was deleted |
Allowed Include Paths
None
Endpoints
The balance destroy endpoint soft deletes a balance and returns the deleted balance resource.
The balance force delete endpoint hard deletes a balance and returns a confirmation message.
The balance index endpoint displays a listing of balance resources.
The balance show endpoint returns a balance resource.
The balance store endpoint creates a new balance and returns the new balance resource.
The balance update endpoint updates a balance and returns the updated balance resource.