bankstract
Api

Erase an owner's data (admin)

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).

DELETE
/v1/admin/owner

Query Parameters

owner*Owner

Header Parameters

authorization?string|null

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/admin/owner?owner=string"
{  "property1": true,  "property2": true}
{  "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": {}    }  ]}