request_endpoint_credit_purchase_payment
Return the x402 payment challenge for purchasing a public credit pack from an endpoint that exposes /e/:slug?action=purchase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Endpoint slug for the credit-enabled endpoint | |
| metadata | No | Optional metadata object forwarded to the purchase flow | |
| walletAddress | No | Optional wallet address to receive the purchased credits when the underlying endpoint supports it | |
| clientReferenceId | No | Optional client reference ID forwarded to the purchase flow |