Platform owner: add a monthly cost entry (pence, GBP); hosting, ai_calls and payment_fees are cost of service

post/api/v1/platform/costs

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/platform/costs
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Request body

monthstring required

YYYY-MM

category'marketing' | 'hosting' | 'software' | 'ai_calls' | 'payment_fees' | 'people' | 'other' required
amount_minorinteger required
currency'GBP' | 'USD' | 'EUR' | 'AED'
notestring nullable
channelstring nullable

Optional acquisition channel of a marketing cost, written like utm_source (google, meta, g2); sets cost per paying business by channel

Response

OK

object required

Changes

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