prepare_credit_purchase
Idempotent
Prepare a credit purchase, without paying yet. 40=$1.99,100=$4.99,400=$14.99,1000=$29.99.
Gives an account-bound pay_url. An authorized x402 wallet client POSTs to that URL,
reads PAYMENT-REQUIRED, then retries with PAYMENT-SIGNATURE for USDC on Base mainnet.
Never send wallet private keys to this tool. Browser Stripe checkout is also available.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack_id | Yes | ||
| idempotency_key | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||