subscriptions
Record Token Purchase
Record units somebody bought. Admin-only until a payment provider exists.
Units land immediately and raise the ceiling in every state, trial included — we are never in the position of refusing money from a customer trying to give it to us.
external_ref is UNIQUE since the Payrexx work, so recording the same provider transaction twice by hand is refused rather than granted twice. That is a 409 and not a 500: an operator re-keying a reference they already entered is an ordinary mistake, and the message has to say which one.
post/admin/payers/{user_id}/token-purchases
Request
- Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
- URL: https://app.zeno-works.ch/admin/payers/{user_id}/token-purchases
- Auth: none declared
Path parameters
user_idstring required
Headers
authorizationstring nullable
Cookies
access_tokenstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.