Money

Buy a one-time or subscription product

Creates an invoice-kind TransferRequest (and, for a subscription, a RecurringTransfer too). Metered products are refused here -- they accrue against prepaid credits instead (see /billing_accounts/top_up and /usage_events).

post/api/v1/products/{id}/buy

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/products/{id}/buy
  • Auth: API key in header api-key

Path parameters

idstring required

Request body

chat_idstring required

Response

OK.

okboolean
transfer_request_idstring

Changes

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