User

Read a credit purchase

Reads the stored credit-purchase status and its authorized Stripe-hosted invoice link.

get/api/billing/mpp/purchases/{purchaseId}

Request

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

Path parameters

purchaseIdstring required

purchaseId path parameter

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.

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.