List secrets
Lists secret metadata for the current account and environment. Secret values are never included in list responses, and expired secrets are omitted.
Query Parameters
- enumscope[type]const:account
Account scope for the operation. Omit this parameter to use the current account.
The account boundary for the secret.
values- account
The secret is available only within the selected Paypercut account and environment.
- account
- Type: integerlimitmin:1max:100
Maximum number of secrets to return. Defaults to
25. - Type: stringlast
_key max length:500Opaque cursor from the previous response. Supply it to retrieve the next page.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/secrets
curl 'https://api.paypercut.io/v1/secrets?limit=25' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"object": "list",
"items": [
{
"id": "secret_01J7H7D4SK8W1Q9K0Y3M6P2T4V",
"object": "secret",
"created": "2026-11-13T07:04:16.859Z",
"updated": "2026-11-13T07:04:16.859Z",
"name": "string",
"livemode": true,
"expires_at": "2026-11-13T07:04:16.859Z",
"scope": {
"type": "account"
},
"payload": "string"
}
],
"last_key": null
}
