pay
Sign an x402 payment authorization for a USDC transfer on Hedera. Get the header value to attach when retrying a paid HTTP request.
Instructions
Sign an x402 payment authorization for a USDC transfer on Hedera. Returns the header value your HTTP client should attach when retrying the paid request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | USDC amount as decimal string, e.g. "0.05" | |
| feePayer | No | Hedera account that will pay the HBAR gas fee to submit this transfer. Defaults to the recipient. | |
| resource | No | URL of the resource being paid for (from the 402 challenge) | |
| recipient | Yes | Recipient Hedera account ID, e.g. "0.0.12345" |