More Rewards
More Rewards
Developer Documentation

Status: Stable.

Members: Close

Use this endpoint to close a member/cardholder account for a club.

Endpoint

POST /api/v1/members/{externalMemberId}/close

The externalMemberId in the path must match member.externalMemberId in the request body.

Club Key

The API key identifies the club. Omit clubId from the body.

Request body

{
  "partnerRef": "club_public_id",
  "member": {
    "externalMemberId": "member_external_id"
  }
}

Success response

{
  "ok": true,
  "data": {
    "externalMemberId": "member_external_id",
    "status": "closed"
  }
}

Common errors

  • invalid_request
  • unauthorized
  • cardholder_not_found