billing
Start adding a payment method.
Changed onReturns a checkout URL where a card is saved for the account; an organization needs one before it can create anything that costs money. Requires the billing:write scope.
post/v1/billing/payment-method-setup
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Returns {"url": <stripe-hosted url>} for a Stripe Checkout in setup mode that puts a card on file without charging it.
Changes
- info
endpoint added
- info