Api
List API keys
Admin-only. Lists key metadata (never the raw key) for an owner, including revoked keys for the audit trail.
Query Parameters
owner?string|null
Header Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/keys"{ "keys": [ { "id": "string", "name": "string", "prefix": "string", "env": "string", "tier": "string", "owner": "string", "created_at": "string", "revoked_at": "string" } ]}{ "error": "string", "error_class": "string", "format_version": "string", "marker_coverage": 0}{ "error": "string", "error_class": "string", "format_version": "string", "marker_coverage": 0}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}Erase an owner's data (admin) DELETE
Admin-only. Cancels any live Paystack subscription, then deletes every row tied to `owner` (keys, subscription, cycle tiers, invoices, audit metadata). Right to erasure (NDPR). If the Paystack cancel fails, nothing is deleted (a live charge is never orphaned).
Issue an API key POST
Admin-only. Returns the raw key exactly once; only its argon2 hash is stored.