billing

Get credit pack quote

Get the one-time credit pack pricing, presets, and remaining monthly purchase limit. Pass ?credits= to price a specific amount.

get/billing/credit_packs/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/billing/credit_packs/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

creditsinteger nullable

Credit amount to price.

Response

Successful Response

amount_centsinteger nullable required

The total price in cents for the requested credit amount. None when no amount was requested.

max_creditsinteger required

Maximum purchasable credits in a single pack.

min_creditsinteger required

Minimum purchasable credits per pack.

preset_creditsinteger[] required

Suggested pack sizes for the purchase dialog.

unit_amount_decimal_per_creditstring required

Price per credit in cents (decimal string, e.g. '0.4').

Changes

No recorded changes to this operation across all 2 revisions of this API.