User

Quote a credit purchase for MPP

Creates an owner-authorized credit purchase with a Stripe tax quote and no payment confirmation.

post/api/billing/mpp/purchases

Request

  • Base URL: https://makefx.app
  • URL: https://makefx.app/api/billing/mpp/purchases
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://makefx.app/api/oauth/authorize, token URL https://makefx.app/api/oauth/token, scopes: write)
    • API key in cookie auth_token

Headers

API-Version'2026-09-10'

The API version the client was written against. Omit it for the current version, 2026-09-10. The response carries the same header, naming the version that answered.

Request body

account_idstring required
product'eur20' | 'eur100' required
request_idstring required

Response

Success

purchase_idstring required
account_idstring required
product'eur20' | 'eur100' required
creditsinteger required
currency'eur' required
net_amountinteger required
tax_amountinteger required
total_amountinteger required
expires_atstring required
status'awaiting_payment' | 'credited' required
payment_urlstring uri required
invoice_urlstring uri nullable required
purchase_noticestring required
balance_creditsinteger required

Changes

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