/tokens
Generated from openapi.yaml. 2 operations.Download the specification.
GET/v1/tokens
List the tokens this merchant accepts
The platform registry, each entry marked with whether this merchant accepts it. A token the merchant has never toggled falls back to the platform default.
Requires your secret key as a bearer token.
Responses
| Status | Description |
|---|---|
200 | List of token: mint, symbol, decimals, class, isDefault, floor, accepted |
POST/v1/tokens
Accept or decline a curated token
Only tokens already in the platform registry can be toggled. The floor stable cannot be declined, because it is what pricing falls back to.
Requires your secret key as a bearer token.
Body
| Field | Type | Required | Description |
|---|---|---|---|
mint | string | yes | Registry mint address |
enabled | boolean | no |
Responses
| Status | Description |
|---|---|
200 | The updated token |
400 | Not in the registry |