Purchase Hook Credits
purchase_hook_creditsRequest an x402 quote without payment, or buy credits with an explicitly authorized signed payment. Reuse purchaseId and the same payment after any timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookId | Yes | Hook identifier returned by registration; preserve for all subsequent operations. | |
| payment | No | Original signed x402 payment payload authorized by the payer. Omit to request a quote without paying. Never fabricate or replace an uncertain authorization. | |
| purchaseId | Yes | Unique caller-chosen purchase identifier, for example credits-20261007-01. Save before requesting the quote and reuse unchanged with the same payment on retries. | |
| managementToken | Yes | Private management token returned by registration. Required for status, activation, revocation and credits; not the delivery token. |