Cut.ProDocs
Account: credits

List plans and credit packs

Free. The plans and credit packs this workspace can buy, at the price cut.pro charges this user, each with a checkout link: a cut.pro page that opens the payment with that plan or pack already chosen, in this workspace. The user pays there; nothing is charged by this call. Offer it when a job needs more credits than the balance (INSUFFICIENT_CREDITS) or the user asks about plans, prices or more credits: a pack covers a one-off job (suggest the smallest one with at least the missing credits), and a plan suits someone who creates every month (credits_per_month renews monthly, and highlights says what else it includes). When can_buy is false only the workspace owner can buy, so tell the user to ask them. SOLD_ON_SITE means the app this key belongs to does not allow purchases: send the user to cut.pro.

Authorization

apiKey
X-Api-Key<token>

In: header

Query Parameters

language?string

Value in

  • "pt"
  • "en"
  • "es"

Response Body

application/json

application/json

application/json

GET
/balance/offers
curl -X GET "https://example.com/balance/offers"
{  "can_buy": true,  "current_plan": {    "id": "string",    "name": "string",    "is_free": true  },  "plans": [    {      "id": "string",      "name": "string",      "currency": "string",      "credits_per_month": 0,      "monthly_price_cents": 0,      "annual_price_cents": 0,      "highlights": [        "string"      ],      "current": true,      "monthly_checkout_url": "string",      "annual_checkout_url": "string"    }  ],  "packs": [    {      "id": "string",      "credits": 0,      "currency": "string",      "price_cents": 0,      "checkout_url": "string"    }  ]}