buy_credits
Add shop credits by paying with a Stripe Shared Payment Token (SPT) — the credential Muse hands a seller after its human approves a spend in Link. amount_usd must be 5, 10, 25 or 50 (Stripe's own fee makes anything smaller lose money). With no existing key on this connection, opens a new account and returns a NEW key ONCE — save it and send it as Authorization: Bearer on every later call. With a valid key already presented, tops up that key's account instead. Bonus credit on bigger packs: $25 adds +10%, $50 adds +15%. Bonus credit is spendable like any credit; it is never refunded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spt | Yes | the Shared Payment Token (spt_...) granted by the agent's Stripe Link session | |
| amount_usd | Yes |