Credentials Issue
credentials_issueIssue a scoped, expiring, offline-verifiable capability credential (PAID $0.05)
VALUE: A scoped, time-limited, signed credential — delegation with an expiry, so access does not have to be revoked by hand.
PRICE: $0.05 USDC per call.
HOW TO PAY: USDC on eip155:8453, exact scheme, to 0xc8fF67FAE72596478599EAAcfad8656fAe1113c8. Sign an EIP-3009 transferWithAuthorization for the exact amount and put it in the X-PAYMENT header, then retry the same call. An unpaid call returns a payment_required payload with the amount, asset, network and payTo already filled in. The synthex-x402 SDK (PyPI and npm) does the 402 -> sign -> retry loop in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | The scopes to grant. Every scope must be in the documented vocabulary; an unknown scope is a 400 with the vocabulary in the body. A wildcard is refused. | |
| subject | Yes | Who the credential is for, e.g. 'did:agent:abc'. | |
| max_uses | No | How many uses the credential is granted (1..100000). | |
| issued_for | No | Who the credential was issued to, for the record. | |
| policy_ref | No | The policy the credential is issued under. Its SHA-256 is carried in the credential. | |
| ttl_seconds | No | How long the credential is valid, in seconds (1..2592000). |