credits
credits

Calculate Ad Charge

Calculate charge for an ad campaign including commission. Shows what will be charged based on current tier.

post/api/payment/credits/calculate-charge

Request

  • Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepomo.ai/api/payment/credits/calculate-charge
  • Auth: HTTP bearer

Request body

organization_idstring required
daily_budgetnumber required
campaign_daysinteger required
currencystring required

Currency code for display (e.g., USD, INR)

ad_account_currencystring nullable

Currency code used by the selected ad account

Response

Successful Response

ad_spendnumber required
commission_ratenumber required
commission_amountnumber required
total_chargenumber required
tier_usedstring required
current_balancenumber required
has_sufficient_creditsboolean required
currencystring
billing_currencystring
fx_rate_to_usdnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.