PaidGoods
API referenceCustomer operations

Close and anonymise a buyer account while retaining transaction evidence

DELETE
/v1/stores/{storeId}/customers/{customerId}/account

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
customerId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/stores/string/customers/string/account" \  -H "Content-Type: application/json" \  -d '{    "confirm": "DELETE"  }'
{  "ok": true}