PaidGoods
API referenceCustomers

Remove a buyer’s password or two-factor, unlink Discord, or sign them out everywhere

POST
/v1/stores/{storeId}/customers/{customerId}/reset

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 POST "https://example.com/v1/stores/string/customers/string/reset" \  -H "Content-Type: application/json" \  -d '{    "what": "totp"  }'
{  "ok": true}