Revoke an active member's access
- Credentials
- Store key
- Scopes
members:manage- Key type
- Secret store key only. Keep it on your server.
POST
note becomes the member's decisionNote, which the shopper sees.
Old path, deprecated, sunset 1 Feb 2027: POST /v1/members/{uid}/revoke.
storeKey members:manageheader
AuthorizationBearer <sez_pub_... (publishable) or sez_sk_... (secret)>A per-store key from the console. Publishable keys are browser-safe; secret keys are server-only.
Scope: members:manage
uid*stringThe shopper's user id within the store's tenant.
application/json- body
note?stringShown to the shopper as decisionNote.
The member after the decision.
application/json- response
data*curl -X POST 'https://api.shopeazy.co/v1/store/members/<uid>/revoke' \ -H 'Authorization: Bearer sez_sk_...' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "uid": "string", "status": "pending", "name": "string", "email": "string", "phone": "string", "applicationNote": "string", "appliedAt": 0, "decidedAt": 0, "decisionNote": "string", "verification": { "firstName": "string", "lastName": "string", "dateOfBirth": "string", "idType": "sa_id", "idNumber": "string", "address": { "addressLine": "string", "localArea": "string", "city": "string", "province": "string", "postalCode": "string", "country": "string" }, "over18": true, "submittedAt": 0, "selfieUrl": "string", "idDocUrl": "string" } }}Decline a membership application POST
Sets the status to `rejected`. `note` becomes the member's `decisionNote`, which the shopper sees. Old path, deprecated, sunset 1 Feb 2027: `POST /v1/members/{uid}/decline`.
Merchant API
Every Merchant API operation, with its scopes, parameters, responses and request samples.