Wallets

Check usage budgets and UTC progress

Changed on

Returns organization and channel budgets and usage in the current UTC periods.

get/wallets/me/spend-limits

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Response

Returns the usage limits and progress.

SpendLimitsResponse required

UTC calendar usage budgets, settled spend, and pending usage reservations in USD.

textingLimit, number double nullable

Optional texting budget in USD.

textingPeriod, 'day' | 'week' | 'month'

Calendar period for an organization channel budget, in UTC.

callingLimit, number double nullable

Optional calling budget in USD.

callingPeriod, 'day' | 'week' | 'month'

Calendar period for an organization channel budget, in UTC.

textingUsed, number double

Settled texting charges this period plus pending texting reservations.

callingUsed, number double

Settled calling charges this period plus pending calling reservations.

dailyLimit, number double nullable

Daily usage budget in USD. Null means no daily limit; zero stops new paid usage.

monthlyLimit, number double nullable

Monthly usage budget in USD. Null means no monthly limit; zero stops new paid usage.

dailySpent, number double

Settled usage spending in USD for the current UTC calendar day.

monthlySpent, number double

Settled usage spending in USD for the current UTC calendar month.

reserved, number double

Pending usage reservations in USD.

dailyResetsAt, string date-time

UTC timestamp when the next calendar day begins and daily spending resets.

monthlyResetsAt, string date-time

UTC timestamp when the next calendar month begins and monthly spending resets.

Changes

    • info

      added the optional property allOf[#/components/schemas/SpendLimitsResponse]/callingLimit to the response with the status

    • info

      added the optional property allOf[#/components/schemas/SpendLimitsResponse]/callingPeriod to the response with the status

    • info

      added the optional property allOf[#/components/schemas/SpendLimitsResponse]/callingUsed to the response with the status

    3 more changes in this revision