Membership Info

Create Membership

POST https://{base_url}/v1/memberships

Get membership info

GET https://{base_url}/v1/memberships

auth_token is required to view the membership info.

Parameters

Parameter
Description

account

Account name that own the membership.

uuid

A unique system-generated identifier for the membership.

created_at

The timestamp when the organisation create the membership.

updated_at

The timestamp showing the last time the wallet information was modified.

tiers_count

Display number of tiers that exist for the membership.

members_count

Display number of members that has register as member with the account.

Response

{
    "account": "Afiq Izzan",
    "uuid": "e5fea0cb-b95b-4a07-be26-98dd8f016221",
    "created_at": "2025-10-17T01:56:48.323Z",
    "updated_at": "2025-10-17T01:56:48.323Z",
    "tiers_count": 1,
    "members_counts": 2,
    "tiers": [
        {
            "name": "Gold",
            "description": "Our Gold tier customers are our most profitable. They receive priority customer service and exclusive discounts to encourage their continued loyalty.",
            "points_per_unit": 1,
            "min_point": 1,
            "max_point": 1
        }
    ],
    "members": [
        {
            "membership_number": "1211025000301",
            "card_number": null,
            "status": "active",
            "tier": "Gold",
            "points": 0,
            "joined_at": "2025-10-21T00:16:55.432Z",
            "updated_at": "2025-10-21T00:16:55.926Z"
        },
        {
            "membership_number": "1211025000302",
            "card_number": null,
            "status": "active",
            "tier": "Gold",
            "points": 610,
            "joined_at": "2025-10-21T06:08:00.422Z",
            "updated_at": "2025-10-27T09:11:01.181Z"
        }
    ]
}

Last updated