get_channel_status
Verify an x402 payment channel is active and has capacity before settling a micro-payment. Check status, currency, network, and last settlement to avoid failed transactions.
Instructions
Retrieve the current operational status, limits, and settlement state of an x402 payment channel, identified by its channel_id.
Use this as the first step of the channel lifecycle before screening an address or verifying a payment: confirm the channel is ACTIVE and has capacity so a downstream x402 micro-payment can settle.
Returns a JSON object: { channelId, status ('ACTIVE'), currency ('USDC'), network ('solana-devnet'), capacity ('10000.00'), lastSettlementBlock }. A blank or malformed channel_id is rejected with a validation error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | x402 payment channel identifier (1-128 chars; alphanumeric plus '.', '-', '_'). Example: 'chan_smoke_test_001'. |