Issue a scoped, expiring, offline-verifiable capability credential (PAID $0.05)
v1_credentials_issueIssue a scoped, expiring, offline-verifiable capability credential for a subject, with defined scopes, use limits, policy reference, and TTL.
Instructions
Issue a scoped, expiring, offline-verifiable capability credential (PAID $0.05)
Remote route: POST /v1/credentials/issue (0.05 USD x402/base/usdc on eip155:8453).
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). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No |