Files
animethemes-api-docs/docs/balance

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

Balance Destroy

The balance destroy endpoint soft deletes a balance and returns the deleted balance resource.

Balance Force Delete

The balance force delete endpoint hard deletes a balance and returns a confirmation message.

Balance Index

The balance index endpoint displays a listing of balance resources.

Balance Show

The balance show endpoint returns a balance resource.

Balance Store

The balance store endpoint creates a new balance and returns the new balance resource.

Balance Update

The balance update endpoint updates a balance and returns the updated balance resource.