jianyuan/terraform-provider-porkbun
tldr.page
Api Spend Settings

generated by https://github.com/hashicorp/terraform-plugin-docs

page_title: "porkbun_api_spend_settings Data Source - terraform-provider-porkbun" subcategory: "" description: |- Returns the available account credit balance.

porkbun_api_spend_settings (Data Source)

Returns the available account credit balance.

Example Usage

data "porkbun_api_spend_settings" "test" {
}

Schema

Read-Only

  • monthly_spend (Number) Total API spend in the current calendar month, in cents.
  • settings (Attributes) Human-readable balance string (e.g. $12.34). (see below for nested schema)

Nested Schema for settings

Read-Only:

  • auto_topup (Boolean) Whether automatic balance top-up is enabled.
  • low_balance_alert (Number) Send an alert email when balance drops below this amount (cents). null = disabled.
  • monthly_spend_limit (Number) Maximum API spend per calendar month in cents. null means no limit.
  • topup_amount (Number) Amount to add during an auto top-up (cents).
  • topup_threshold (Number) Trigger auto top-up when balance falls below this amount (cents). null = disabled.