platform-sdk
Charge Endpoint
Debit the user's wallet by units * meter_unit.cents.
Dual-auth — X-Internal-Key (caller identity) + body.token (subject). Idempotent on (installation_id, idempotency_key) via DB partial unique index.
Returns 402 on insufficient funds with a JSON body the caller can surface to the user verbatim.
post/api/platform/charge
Request
- Base URL: https://api.tintin-x.com (the document declares no server; this is the origin it was published from)
- URL: https://api.tintin-x.com/api/platform/charge
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.