The unique identifier of the membership product whose members you want to list.
If missing or malformed the endpoint responds 400 "Invalid query parameters".
string
Filter members by a search term (for example a customer name or email).
string
Start of the date range to filter by.
string
End of the date range to filter by.
boolean
When set, filters churned members. When this filter is used the response also
includes a totalMember sibling field alongside data.
integer
default:"10"
Number of items to return per page. Defaults to 10, with a maximum of 50.
string
Cursor for forward pagination. Pass the nextStartingAfter value from the
previous response (a Unix timestamp in milliseconds, as a string) to fetch the
next page.
Response
Successful Response
Main Structure (Root)
integer
Status code form API.
string
Status message that describes the status code.
array of object
List of membership members for the product.
boolean
Information on whether there is additional data to be retrieved (true/false).
string | null
Cursor to pass as startingAfter to fetch the next page. null when there is
no further data.
integer
Total number of members. Only present when the isChurnedMember filter is used.
data Structure (Array Of Object)
Each member row carries the membership-customer fields plus the related tier and
customer, exposed in both forms:
nested objects (customer, membershipTier) — the shape used by every other
endpoint in this app, and
the flattened dotted-key columns (customer.email,
membershipTier.name, …) kept for backward compatibility.
string<uuid>
Unique identifier of the membership-customer record.
string
ISO 8601 timestamp (UTC) of when the member was created.
string<uuid>
Unique identifier of the customer.
string<uuid>
Unique identifier of the member’s tier.
string
ISO 8601 timestamp (UTC) of the member’s next scheduled payment.
string
Current status of the member (for example active, inactive).
string
ISO 8601 timestamp (UTC) of the last update.
string<uuid>
The user ID of the owner of the product.
string
Public membership code of the member.
string
Name of the member’s tier (flattened dotted-key column).
string
Grace-period days of the member’s tier, as a string (flattened dotted-key column).
string
Name of the customer (flattened dotted-key column).
string
Mobile number of the customer (flattened dotted-key column).
string
Email address of the customer (flattened dotted-key column).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mayar Documentation","colors":{"primary":"#0951EF","light":"#0951EF","dark":"#0951EF"},"logo":{"light":"https://mintcdn.com/mayar/gxUm6zKdSg2aFxK8/logo/logo.png?fit=max\u0026auto=format\u0026n=gxUm6zKdSg2aFxK8\u0026q=85\u0026s=e4dc0f0e109f6b863b80a32a57b8a947","dark":"https://mintcdn.com/mayar/gxUm6zKdSg2aFxK8/logo/logo.png?fit=max\u0026auto=format\u0026n=gxUm6zKdSg2aFxK8\u0026q=85\u0026s=e4dc0f0e109f6b863b80a32a57b8a947"},"favicon":"https://mintcdn.com/mayar/0UzVXeqvBE-guUyn/favicon.svg?fit=max\u0026auto=format\u0026n=0UzVXeqvBE-guUyn\u0026q=85\u0026s=0f05f8fa290cfb16bf54670519f5b1d8","navbar":{"links":[{"href":"mailto:info@mayar.id","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://web.mayar.id/"}},"footer":{"socials":{"x":"https://x.com/mayar_id_","instagram":"https://www.instagram.com/mayar_id"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"telegram","href":"https://t.me/mcngroup"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.mayar.id/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mayar","hasAudioNarration":false,"actualSubdomain":"mayar","customDomains":["docs.mayar.id"],"gitSource":{"type":"github","owner":"moerdowo","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{},"buildId":"6ae4546bbfaae13da36a806d","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API V2 Reference","count":85},{"language":"default","tag":"API V1 Reference","count":66},{"language":"default","tag":"Guides","count":54},{"language":"default","tag":"Features","count":21},{"language":"default","tag":"Product Page Types","count":19},{"language":"default","tag":"Products \u0026 payment links","count":16},{"language":"default","tag":"Invoice","count":12},{"language":"default","tag":"Product","count":11},{"language":"default","tag":"Customer","count":10},{"language":"default","tag":"Reviews","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference-v2/membership/members","slug":"/api-reference-v2/membership/members","pageMetadata":{"title":"Get Membership Members","openapi":"GET /endpointmembershipv2/members","description":"Endpoint to list the members of a membership product.","href":"/api-reference-v2/membership/members"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Endpoint to list the members of a membership product.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Endpoint:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Production`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.id/hl/v2/memberships/members?productId=(productId)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`Sandbox`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.io/hl/v2/memberships/members?productId=(productId)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsxs(ResponseField,{name:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`Example:`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`Authorization | Bearer Paste-Your-API-Key-Here`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`productId`,path:`productId`,type:`string`,required:true,id:`param-product-id`,children:_jsxs(_components.p,{children:[`The unique identifier of the membership product whose members you want to list.\nIf missing or malformed the endpoint responds `,_jsx(_components.code,{children:`400 \"Invalid query parameters\"`}),`.`]})}),`\n`,_jsx(ParamField,{query:`searchTerm`,path:`searchTerm`,type:`string`,id:`param-search-term`,children:_jsx(_components.p,{children:`Filter members by a search term (for example a customer name or email).`})}),`\n`,_jsx(ParamField,{query:`startDate`,path:`startDate`,type:`string`,id:`param-start-date`,children:_jsx(_components.p,{children:`Start of the date range to filter by.`})}),`\n`,_jsx(ParamField,{query:`endDate`,path:`endDate`,type:`string`,id:`param-end-date`,children:_jsx(_components.p,{children:`End of the date range to filter by.`})}),`\n`,_jsx(ParamField,{query:`isChurnedMember`,path:`isChurnedMember`,type:`boolean`,id:`param-is-churned-member`,children:_jsxs(_components.p,{children:[`When set, filters churned members. When this filter is used the response also\nincludes a `,_jsx(_components.code,{children:`totalMember`}),` sibling field alongside `,_jsx(_components.code,{children:`data`}),`.`]})}),`\n`,_jsx(ParamField,{query:`limit`,path:`limit`,default:`10`,type:`integer`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Number of items to return per page. Defaults to `,_jsx(_components.code,{children:`10`}),`, with a maximum of `,_jsx(_components.code,{children:`50`}),`.`]})}),`\n`,_jsx(ParamField,{query:`startingAfter`,path:`startingAfter`,type:`string`,id:`param-starting-after`,children:_jsxs(_components.p,{children:[`Cursor for forward pagination. Pass the `,_jsx(_components.code,{children:`nextStartingAfter`}),` value from the\nprevious response (a Unix timestamp in milliseconds, as a string) to fetch the\nnext page.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Successful Response`}),`\n`,_jsx(Heading,{level:`3`,id:`main-structure-root`,children:`Main Structure (Root)`}),`\n`,_jsx(ResponseField,{name:`statusCode`,type:`integer`,id:`param-status-code`,children:_jsx(_components.p,{children:`Status code form API.`})}),`\n`,_jsx(ResponseField,{name:`messages`,type:`string`,id:`param-messages`,children:_jsx(_components.p,{children:`Status message that describes the status code.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`array of object`,id:`param-data`,children:_jsx(_components.p,{children:`List of membership members for the product.`})}),`\n`,_jsx(ResponseField,{name:`hasMore`,type:`boolean`,id:`param-has-more`,children:_jsx(_components.p,{children:`Information on whether there is additional data to be retrieved (true/false).`})}),`\n`,_jsx(ResponseField,{name:`nextStartingAfter`,type:`string | null`,id:`param-next-starting-after`,children:_jsxs(_components.p,{children:[`Cursor to pass as `,_jsx(_components.code,{children:`startingAfter`}),` to fetch the next page. `,_jsx(_components.code,{children:`null`}),` when there is\nno further data.`]})}),`\n`,_jsx(ResponseField,{name:`totalMember`,type:`integer`,id:`param-total-member`,children:_jsxs(_components.p,{children:[`Total number of members. Only present when the `,_jsx(_components.code,{children:`isChurnedMember`}),` filter is used.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`data-structure-array-of-object`,children:`data Structure (Array Of Object)`}),`\n`,_jsxs(_components.p,{children:[`Each member row carries the membership-customer fields plus the related tier and\ncustomer, exposed in `,_jsx(_components.strong,{children:`both`}),` forms:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`nested objects (`,_jsx(_components.code,{children:`customer`}),`, `,_jsx(_components.code,{children:`membershipTier`}),`) — the shape used by every other\nendpoint in this app, and`]}),`\n`,_jsxs(_components.li,{children:[`the flattened dotted-key columns (`,_jsx(_components.code,{children:`customer.email`}),`,\n`,_jsx(_components.code,{children:`membershipTier.name`}),`, …) kept for backward compatibility.`]}),`\n`]}),`\n`,_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier of the membership-customer record.`})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp (UTC) of when the member was created.`})}),`\n`,_jsx(ResponseField,{name:`customerId`,type:`string\u003cuuid>`,id:`param-customer-id`,children:_jsx(_components.p,{children:`Unique identifier of the customer.`})}),`\n`,_jsx(ResponseField,{name:`membershipTierId`,type:`string\u003cuuid>`,id:`param-membership-tier-id`,children:_jsx(_components.p,{children:`Unique identifier of the member’s tier.`})}),`\n`,_jsx(ResponseField,{name:`nextPayment`,type:`string`,id:`param-next-payment`,children:_jsx(_components.p,{children:`ISO 8601 timestamp (UTC) of the member’s next scheduled payment.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Current status of the member (for example `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`inactive`}),`).`]})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp (UTC) of the last update.`})}),`\n`,_jsx(ResponseField,{name:`userId`,type:`string\u003cuuid>`,id:`param-user-id`,children:_jsx(_components.p,{children:`The user ID of the owner of the product.`})}),`\n`,_jsx(ResponseField,{name:`memberId`,type:`string`,id:`param-member-id`,children:_jsx(_components.p,{children:`Public membership code of the member.`})}),`\n`,_jsx(ResponseField,{name:`membershipTier.name`,type:`string`,id:`param-membership-tier-name`,children:_jsx(_components.p,{children:`Name of the member’s tier (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`membershipTier.gracePeriodInDays`,type:`string`,id:`param-membership-tier-grace-period-in-days`,children:_jsx(_components.p,{children:`Grace-period days of the member’s tier, as a string (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`customer.name`,type:`string`,id:`param-customer-name`,children:_jsx(_components.p,{children:`Name of the customer (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`customer.mobile`,type:`string`,id:`param-customer-mobile`,children:_jsx(_components.p,{children:`Mobile number of the customer (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`customer.email`,type:`string`,id:`param-customer-email`,children:_jsx(_components.p,{children:`Email address of the customer (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`membershipTier`,type:`object`,id:`param-membership-tier`,children:_jsxs(_components.p,{children:[`Nested tier object: `,_jsx(_components.code,{children:`{ \"name\": \"...\", \"gracePeriodInDays\": \"...\" }`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`customer`,type:`object`,id:`param-customer`,children:_jsxs(_components.p,{children:[`Nested customer object: `,_jsx(_components.code,{children:`{ \"name\": \"...\", \"mobile\": \"...\", \"email\": \"...\" }`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(ResponseField,{name:`400 Invalid query parameters`,type:`object`,id:`param-400-invalid-query-parameters`,children:_jsxs(_components.p,{children:[`Returned with `,_jsx(_components.code,{children:`messages: \"Invalid query parameters\"`}),` when `,_jsx(_components.code,{children:`productId`}),` is missing\nor the query parameters fail validation.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Membership Members","openapi":"GET /endpointmembershipv2/members","description":"Endpoint to list the members of a membership product.","href":"/api-reference-v2/membership/members"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request Example`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.mayar.id/hl/v2/memberships/members?productId=7c9d2e1f-4a5b-4c6d-8e9f-0a1b2c3d4e5f\u0026limit=10'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer Paste-Your-API-Key-Here'`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response Example 200`,numberOfLines:`33`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`33`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4d5e6f7-a8b9-4c0d-8e1f-2a3b4c5d6e7f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T15:29:59.659Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customerId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-e5f6-4789-a012-3456789abcde\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"membershipTierId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9b2d4f6a-8c1e-4a3b-bd5c-6e7f8a9b0c1d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextPayment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-15T15:29:59.430Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inactive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-15T17:30:03.531Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"348e083d-315a-4e5c-96b1-5a2a98c48413\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"memberId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MBR8X2QK\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"membershipTier.name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Paket 1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"membershipTier.gracePeriodInDays\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer.name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Budi Santoso\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer.mobile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"081234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer.email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"budi.santoso@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"membershipTier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Paket 1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gracePeriodInDays\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Budi Santoso\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mobile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"081234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"budi.santoso@example.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasMore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextStartingAfter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1768490999659\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:`Endpoint:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Production`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.id/hl/v2/memberships/members?productId=(productId)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`Sandbox`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.io/hl/v2/memberships/members?productId=(productId)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsxs(ResponseField,{name:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`Example:`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`Authorization | Bearer Paste-Your-API-Key-Here`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`productId`,path:`productId`,type:`string`,required:true,id:`param-product-id`,children:_jsxs(_components.p,{children:[`The unique identifier of the membership product whose members you want to list.\nIf missing or malformed the endpoint responds `,_jsx(_components.code,{children:`400 \"Invalid query parameters\"`}),`.`]})}),`\n`,_jsx(ParamField,{query:`searchTerm`,path:`searchTerm`,type:`string`,id:`param-search-term`,children:_jsx(_components.p,{children:`Filter members by a search term (for example a customer name or email).`})}),`\n`,_jsx(ParamField,{query:`startDate`,path:`startDate`,type:`string`,id:`param-start-date`,children:_jsx(_components.p,{children:`Start of the date range to filter by.`})}),`\n`,_jsx(ParamField,{query:`endDate`,path:`endDate`,type:`string`,id:`param-end-date`,children:_jsx(_components.p,{children:`End of the date range to filter by.`})}),`\n`,_jsx(ParamField,{query:`isChurnedMember`,path:`isChurnedMember`,type:`boolean`,id:`param-is-churned-member`,children:_jsxs(_components.p,{children:[`When set, filters churned members. When this filter is used the response also\nincludes a `,_jsx(_components.code,{children:`totalMember`}),` sibling field alongside `,_jsx(_components.code,{children:`data`}),`.`]})}),`\n`,_jsx(ParamField,{query:`limit`,path:`limit`,default:`10`,type:`integer`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Number of items to return per page. Defaults to `,_jsx(_components.code,{children:`10`}),`, with a maximum of `,_jsx(_components.code,{children:`50`}),`.`]})}),`\n`,_jsx(ParamField,{query:`startingAfter`,path:`startingAfter`,type:`string`,id:`param-starting-after`,children:_jsxs(_components.p,{children:[`Cursor for forward pagination. Pass the `,_jsx(_components.code,{children:`nextStartingAfter`}),` value from the\nprevious response (a Unix timestamp in milliseconds, as a string) to fetch the\nnext page.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Successful Response`}),`\n`,_jsx(Heading,{level:`3`,id:`main-structure-root`,children:`Main Structure (Root)`}),`\n`,_jsx(ResponseField,{name:`statusCode`,type:`integer`,id:`param-status-code`,children:_jsx(_components.p,{children:`Status code form API.`})}),`\n`,_jsx(ResponseField,{name:`messages`,type:`string`,id:`param-messages`,children:_jsx(_components.p,{children:`Status message that describes the status code.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`array of object`,id:`param-data`,children:_jsx(_components.p,{children:`List of membership members for the product.`})}),`\n`,_jsx(ResponseField,{name:`hasMore`,type:`boolean`,id:`param-has-more`,children:_jsx(_components.p,{children:`Information on whether there is additional data to be retrieved (true/false).`})}),`\n`,_jsx(ResponseField,{name:`nextStartingAfter`,type:`string | null`,id:`param-next-starting-after`,children:_jsxs(_components.p,{children:[`Cursor to pass as `,_jsx(_components.code,{children:`startingAfter`}),` to fetch the next page. `,_jsx(_components.code,{children:`null`}),` when there is\nno further data.`]})}),`\n`,_jsx(ResponseField,{name:`totalMember`,type:`integer`,id:`param-total-member`,children:_jsxs(_components.p,{children:[`Total number of members. Only present when the `,_jsx(_components.code,{children:`isChurnedMember`}),` filter is used.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`data-structure-array-of-object`,children:`data Structure (Array Of Object)`}),`\n`,_jsxs(_components.p,{children:[`Each member row carries the membership-customer fields plus the related tier and\ncustomer, exposed in `,_jsx(_components.strong,{children:`both`}),` forms:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`nested objects (`,_jsx(_components.code,{children:`customer`}),`, `,_jsx(_components.code,{children:`membershipTier`}),`) — the shape used by every other\nendpoint in this app, and`]}),`\n`,_jsxs(_components.li,{children:[`the flattened dotted-key columns (`,_jsx(_components.code,{children:`customer.email`}),`,\n`,_jsx(_components.code,{children:`membershipTier.name`}),`, …) kept for backward compatibility.`]}),`\n`]}),`\n`,_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier of the membership-customer record.`})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp (UTC) of when the member was created.`})}),`\n`,_jsx(ResponseField,{name:`customerId`,type:`string\u003cuuid>`,id:`param-customer-id`,children:_jsx(_components.p,{children:`Unique identifier of the customer.`})}),`\n`,_jsx(ResponseField,{name:`membershipTierId`,type:`string\u003cuuid>`,id:`param-membership-tier-id`,children:_jsx(_components.p,{children:`Unique identifier of the member’s tier.`})}),`\n`,_jsx(ResponseField,{name:`nextPayment`,type:`string`,id:`param-next-payment`,children:_jsx(_components.p,{children:`ISO 8601 timestamp (UTC) of the member’s next scheduled payment.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Current status of the member (for example `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`inactive`}),`).`]})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp (UTC) of the last update.`})}),`\n`,_jsx(ResponseField,{name:`userId`,type:`string\u003cuuid>`,id:`param-user-id`,children:_jsx(_components.p,{children:`The user ID of the owner of the product.`})}),`\n`,_jsx(ResponseField,{name:`memberId`,type:`string`,id:`param-member-id`,children:_jsx(_components.p,{children:`Public membership code of the member.`})}),`\n`,_jsx(ResponseField,{name:`membershipTier.name`,type:`string`,id:`param-membership-tier-name`,children:_jsx(_components.p,{children:`Name of the member’s tier (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`membershipTier.gracePeriodInDays`,type:`string`,id:`param-membership-tier-grace-period-in-days`,children:_jsx(_components.p,{children:`Grace-period days of the member’s tier, as a string (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`customer.name`,type:`string`,id:`param-customer-name`,children:_jsx(_components.p,{children:`Name of the customer (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`customer.mobile`,type:`string`,id:`param-customer-mobile`,children:_jsx(_components.p,{children:`Mobile number of the customer (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`customer.email`,type:`string`,id:`param-customer-email`,children:_jsx(_components.p,{children:`Email address of the customer (flattened dotted-key column).`})}),`\n`,_jsx(ResponseField,{name:`membershipTier`,type:`object`,id:`param-membership-tier`,children:_jsxs(_components.p,{children:[`Nested tier object: `,_jsx(_components.code,{children:`{ \"name\": \"...\", \"gracePeriodInDays\": \"...\" }`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`customer`,type:`object`,id:`param-customer`,children:_jsxs(_components.p,{children:[`Nested customer object: `,_jsx(_components.code,{children:`{ \"name\": \"...\", \"mobile\": \"...\", \"email\": \"...\" }`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(ResponseField,{name:`400 Invalid query parameters`,type:`object`,id:`param-400-invalid-query-parameters`,children:_jsxs(_components.p,{children:[`Returned with `,_jsx(_components.code,{children:`messages: \"Invalid query parameters\"`}),` when `,_jsx(_components.code,{children:`productId`}),` is missing\nor the query parameters fail validation.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Membership Members","openapi":"GET /endpointmembershipv2/members","description":"Endpoint to list the members of a membership product.","href":"/api-reference-v2/membership/members"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authorization","slug":"authorization","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Main Structure (Root)","slug":"main-structure-root","depth":3,"children":[]},{"title":"data Structure (Array Of Object)","slug":"data-structure-array-of-object","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request Example","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.mayar.id/hl/v2/memberships/members?productId=7c9d2e1f-4a5b-4c6d-8e9f-0a1b2c3d4e5f\u0026#x26;limit=10'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Bearer Paste-Your-API-Key-Here'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response Example 200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"33\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"statusCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"messages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c4d5e6f7-a8b9-4c0d-8e1f-2a3b4c5d6e7f\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T15:29:59.659Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customerId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a1b2c3d4-e5f6-4789-a012-3456789abcde\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"membershipTierId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9b2d4f6a-8c1e-4a3b-bd5c-6e7f8a9b0c1d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nextPayment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-02-15T15:29:59.430Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"inactive\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-02-15T17:30:03.531Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"userId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"348e083d-315a-4e5c-96b1-5a2a98c48413\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"memberId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MBR8X2QK\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"membershipTier.name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Paket 1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"membershipTier.gracePeriodInDays\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customer.name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Budi Santoso\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customer.mobile\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"081234567890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customer.email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"budi.santoso@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"membershipTier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Paket 1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"gracePeriodInDays\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Budi Santoso\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mobile\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"081234567890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"budi.santoso@example.com\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hasMore\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nextStartingAfter\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1768490999659\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"mayar","siteName":"Mayar Documentation","title":"Get Membership Members - Mayar Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T04:08:40.614Z","originalFileLocation":"api-reference-v2/membership/members.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Endpoint to list the members of a membership product.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mayar Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Membership Members - Mayar Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Endpoint to list the members of a membership product.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mayar Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mayar.id/api-reference-v2/membership/members\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mayar.mintlify.site/_mintlify/api/og/v2?division=Membership\u0026amp;title=Get+Membership+Members\u0026amp;description=Endpoint+to+list+the+members+of+a+membership+product.\u0026amp;theme=25038b7961e565fa0edc663b\u0026amp;signature=a4b4366e2d9ad06778b867c54b13f9b1a41741ff5e7f5e5fd3e997269b3da418\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Membership Members - Mayar Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Endpoint to list the members of a membership product.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mayar.mintlify.site/_mintlify/api/og/v2?division=Membership\u0026amp;title=Get+Membership+Members\u0026amp;description=Endpoint+to+list+the+members+of+a+membership+product.\u0026amp;theme=25038b7961e565fa0edc663b\u0026amp;signature=a4b4366e2d9ad06778b867c54b13f9b1a41741ff5e7f5e5fd3e997269b3da418\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mayar Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0951EF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mayar.id/api-reference-v2/membership/members\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference-v2/membership/members.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mayar.id/#organization\",\"name\":\"Mayar Documentation\",\"url\":\"https://docs.mayar.id\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mayar/gxUm6zKdSg2aFxK8/logo/logo.png?fit=max\u0026auto=format\u0026n=gxUm6zKdSg2aFxK8\u0026q=85\u0026s=e4dc0f0e109f6b863b80a32a57b8a947\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mayar.id#website\",\"name\":\"Mayar Documentation\",\"url\":\"https://docs.mayar.id\",\"publisher\":{\"@id\":\"https://docs.mayar.id/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mayar.id/api-reference-v2/membership/members#webpage\",\"url\":\"https://docs.mayar.id/api-reference-v2/membership/members\",\"name\":\"Get Membership Members\",\"description\":\"Endpoint to list the members of a membership product.\",\"dateModified\":\"2026-08-26T04:08:40.614Z\",\"isPartOf\":{\"@id\":\"https://docs.mayar.id#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mayar.id/api-reference-v2/membership/members#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mayar.id/api-reference-v2/membership/members#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Membership\",\"item\":\"https://docs.mayar.id/api-reference-v2/membership/tiers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Membership Members\",\"item\":\"https://docs.mayar.id/api-reference-v2/membership/members\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mayar.id/api-reference-v2/membership/members#apireference\",\"headline\":\"Get Membership Members\",\"name\":\"Get Membership Members\",\"description\":\"Endpoint to list the members of a membership product.\",\"url\":\"https://docs.mayar.id/api-reference-v2/membership/members\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mayar.id/api-reference-v2/membership/members#webpage\"},\"dateModified\":\"2026-08-26T04:08:40.614Z\",\"publisher\":{\"@id\":\"https://docs.mayar.id/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mayar.id#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mayar Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mayar Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference-v2/membership/members.md","siteName":"Mayar Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"telegram","href":"https://t.me/mcngroup"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.mayar.id/"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API V1 Reference","pages":[{"title":"API V1 Reference","href":"/api-reference/introduction"}]},{"tab":"API V2 Reference","groups":[{"group":"API documentation","pages":[{"title":"Introduction","href":"/api-reference-v2/introduction"},{"title":"Migrating from API V1 to V2","href":"/api-reference-v2/migration-from-v1"},{"title":"Status Code","href":"/api-reference-v2/statuscode"},{"title":"API Rate Limit","href":"/api-reference-v2/rate-limit"}]},{"group":"Products \u0026 payment links","pages":[{"group":"Product","pages":[{"title":"Get Product Page","openapi":"GET /endpointproductv2/productpage","href":"/api-reference-v2/product/productpage"},{"title":"Get Product Page with Type Filter","openapi":"GET /endpointproductv2/productpagewithfilter","href":"/api-reference-v2/product/productpagewithfilter"},{"title":"Get Detail Product","openapi":"GET /endpointproductv2/detail","href":"/api-reference-v2/product/detail"},{"title":"Get Product Transactions","openapi":"GET /endpointproductv2/transactions","href":"/api-reference-v2/product/transactions"},{"title":"Change Product Status","openapi":"POST /endpointproductv2/changestatus","href":"/api-reference-v2/product/changestatus"}]},{"group":"Generic Link / Payment Link","pages":[{"title":"Create Product","openapi":"POST /endpointgenericlinkv2/create","href":"/api-reference-v2/genericlink/create"},{"title":"Create Payment Link","openapi":"POST /endpointgenericlinkv2/createpaymentlink","href":"/api-reference-v2/genericlink/createpaymentlink"},{"title":"Edit Payment Link","openapi":"POST /endpointgenericlinkv2/edit","href":"/api-reference-v2/genericlink/edit"},{"title":"Update Payment Link","openapi":"POST /endpointgenericlinkv2/editpaymentlink","href":"/api-reference-v2/genericlink/editpaymentlink"},{"title":"Sort Payment Links by Type","openapi":"POST /endpointgenericlinkv2/sort","href":"/api-reference-v2/genericlink/sort"}]},{"group":"Digital Product","pages":[{"title":"Create Digital Product","openapi":"POST /endpointdigitalproductv2/create","href":"/api-reference-v2/digitalproduct/create"},{"title":"Edit Digital Product","openapi":"POST /endpointdigitalproductv2/edit","href":"/api-reference-v2/digitalproduct/edit"}]},{"group":"Webinar Product","pages":[{"title":"Create Webinar","openapi":"POST /endpointwebinarv2/create","href":"/api-reference-v2/webinar/create"},{"title":"Edit Webinar","openapi":"POST /endpointwebinarv2/edit","href":"/api-reference-v2/webinar/edit"}]},{"group":"Event Product","pages":[{"title":"Create Event","openapi":"POST /endpointeventv2/create","href":"/api-reference-v2/event/create"},{"title":"Edit Event","openapi":"POST /endpointeventv2/edit","href":"/api-reference-v2/event/edit"}]}]},{"group":"Invoice","pages":[{"title":"Get List Invoice","openapi":"GET /endpointinvoicev2/index","href":"/api-reference-v2/invoice/index"},{"title":"Get Filter Invoice","openapi":"GET /endpointinvoicev2/filter","href":"/api-reference-v2/invoice/filter"},{"title":"Get Detail Invoice","openapi":"GET /endpointinvoicev2/detail","href":"/api-reference-v2/invoice/detail"},{"title":"Create Invoice","openapi":"POST /endpointinvoicev2/create","href":"/api-reference-v2/invoice/create"},{"title":"Edit Invoice","openapi":"POST /endpointinvoicev2/edit","href":"/api-reference-v2/invoice/edit"}]},{"group":"Payments","pages":[{"title":"Get List Single Payment Request","openapi":"GET /endpointreqpaymentv2/index","href":"/api-reference-v2/reqpayment/index"},{"title":"Get Detail Single Payment Request","openapi":"GET /endpointreqpaymentv2/detail","href":"/api-reference-v2/reqpayment/detail"},{"title":"Create Single Payment Request","openapi":"POST /endpointreqpaymentv2/create","href":"/api-reference-v2/reqpayment/create"},{"title":"Edit Single Payment Request","openapi":"POST /endpointreqpaymentv2/edit","href":"/api-reference-v2/reqpayment/edit"},{"title":"Change Single Payment Request Status","openapi":"POST /endpointreqpaymentv2/changestatus","href":"/api-reference-v2/reqpayment/changestatus"}]},{"group":"QR / Payment Channels","pages":[{"title":"Create Dynamic QRCode","openapi":"POST /endpointqrcodev2/createdynamicqrcode","href":"/api-reference-v2/qrcode/createdynamicqrcode"},{"title":"Get Static QRCode","openapi":"GET /endpointqrcodev2/getstaticqrcode","href":"/api-reference-v2/qrcode/getstaticqrcode"},{"title":"Get Payment Channels","openapi":"GET /endpointqrcodev2/paymentchannels","href":"/api-reference-v2/qrcode/paymentchannels"}]},{"group":"Transaction","pages":[{"title":"Get Paid Transactions","openapi":"GET /endpointtransactionv2/paidtransaction","href":"/api-reference-v2/transaction/paidtransaction"},{"title":"Get Unpaid Transaction","openapi":"GET /endpointtransactionv2/unpaidtransaction","href":"/api-reference-v2/transaction/unpaidtransaction"},{"title":"Transaction Daily","openapi":"GET /endpointtransactionv2/daily","href":"/api-reference-v2/transaction/dailytransaction"},{"title":"Get Transaction Detail","openapi":"GET /endpointtransactionv2/detail","href":"/api-reference-v2/transaction/detail"}]},{"group":"Statistics","pages":[{"title":"Get Statistics","openapi":"GET /endpointstatisticsv2/statistics","href":"/api-reference-v2/statistics/statistics"}]},{"group":"Customer","pages":[{"title":"Get Customer","openapi":"GET /endpointcustomerv2/getdetail","href":"/api-reference-v2/customer/getdetail"},{"title":"Search Customer By Email","openapi":"GET /endpointcustomerv2/searchcustomerbyemail","href":"/api-reference-v2/customer/searchcustomerbyemail"},{"title":"Create Customer","openapi":"POST /endpointcustomerv2/create","href":"/api-reference-v2/customer/create"},{"title":"Update Customer Email","openapi":"POST /endpointcustomerv2/update","href":"/api-reference-v2/customer/update"},{"title":"Create Magic Link","openapi":"POST /endpointcustomerv2/createmagiclink","href":"/api-reference-v2/customer/createmagiclink"}]},{"group":"Membership","pages":[{"title":"Get Membership Tiers","openapi":"GET /endpointmembershipv2/tiers","description":"Endpoint to list the membership tiers of a membership product.","href":"/api-reference-v2/membership/tiers"},{"title":"Get Membership Members","openapi":"GET /endpointmembershipv2/members","href":"/api-reference-v2/membership/members"},{"title":"Get Membership Member Detail","openapi":"GET /endpointmembershipv2/memberdetail","description":"Endpoint to get the detail of a single membership member.","href":"/api-reference-v2/membership/memberdetail"},{"title":"Register Membership Member","openapi":"POST /endpointmembershipv2/register","href":"/api-reference-v2/membership/register"},{"title":"Update Membership Member","openapi":"POST /endpointmembershipv2/update","href":"/api-reference-v2/membership/update"},{"title":"Create Membership Invoice","openapi":"POST /endpointmembershipv2/createinvoice","href":"/api-reference-v2/membership/createinvoice"},{"title":"Cancel Membership Member","openapi":"POST /endpointmembershipv2/cancel","href":"/api-reference-v2/membership/cancel"}]},{"group":"Balances","pages":[{"title":"Get Account Balance","openapi":"GET /endpointbalancev2/accountbalance","href":"/api-reference-v2/balance/accountbalance"}]},{"group":"Installment","pages":[{"title":"Get Installments","openapi":"GET /endpointinstallmentv2/index","href":"/api-reference-v2/installment/index"},{"title":"Get Installment Detail","openapi":"GET /endpointinstallmentv2/detail","href":"/api-reference-v2/installment/detail"},{"title":"POST Create Installment","openapi":"POST /endpointinstallmentv2/create","href":"/api-reference-v2/installment/create"}]},{"group":"Discount \u0026 Coupon","pages":[{"title":"Get List Coupon","openapi":"GET /endpointdiscountv2/index","href":"/api-reference-v2/discount/index"},{"title":"Create Discount with Coupon","openapi":"POST /endpointdiscountv2/create","href":"/api-reference-v2/discount/create"},{"title":"Get Coupon Detail","openapi":"GET /endpointdiscountv2/detail","href":"/api-reference-v2/discount/detail"},{"title":"Validate Coupon","openapi":"POST /endpointdiscountv2/validate","href":"/api-reference-v2/discount/validate"},{"title":"Check Coupon Usage","openapi":"POST /endpointdiscountv2/check","href":"/api-reference-v2/discount/check"}]},{"group":"Bundling","pages":[{"title":"Get Bundling","openapi":"GET /endpointbundlingv2/index","href":"/api-reference-v2/bundling/index"},{"title":"Get Bundling Detail","openapi":"GET /endpointbundlingv2/detail","href":"/api-reference-v2/bundling/detail"}]},{"group":"Webhook","pages":[{"title":"Get History","openapi":"GET /endpointwebhookv2/history","href":"/api-reference-v2/webhook/history"},{"title":"Get New History","openapi":"GET /endpointwebhookv2/newhistory","href":"/api-reference-v2/webhook/newhistory"},{"title":"Register URL Hook","openapi":"POST /endpointwebhookv2/registerurlhook","href":"/api-reference-v2/webhook/registerurlhook"},{"title":"Test URL Hook","openapi":"POST /endpointwebhookv2/testurlhook","href":"/api-reference-v2/webhook/testurlhook"},{"title":"Retry History","openapi":"POST /endpointwebhookv2/retryhistory","href":"/api-reference-v2/webhook/retryhistory"}]},{"group":"Reviews","pages":[{"title":"Get All Reviews","openapi":"GET /endpointreviewsv2/reviews","href":"/api-reference-v2/reviews/getallreviews"},{"title":"Get Product Reviews","openapi":"GET /endpointreviewsv2/product-reviews","href":"/api-reference-v2/reviews/productreviews"},{"title":"Get Customer Review","openapi":"GET /endpointreviewsv2/product-review-customer","href":"/api-reference-v2/reviews/productreviewcustomer"},{"title":"Get Product Review Statistics","openapi":"GET /endpointreviewsv2/product-review-stats","href":"/api-reference-v2/reviews/productreviewstats"},{"title":"Get Merchant Review Statistics","openapi":"GET /endpointreviewsv2/merchant-review-stats","href":"/api-reference-v2/reviews/merchantreviewstats"},{"title":"Create Review","openapi":"POST /endpointreviewsv2/reviews/create","href":"/api-reference-v2/reviews/create"},{"title":"Update Review","openapi":"POST /endpointreviewsv2/reviews/update","href":"/api-reference-v2/reviews/update"},{"title":"Bulk Update Review Status","openapi":"POST /endpointreviewsv2/reviews/bulk-status-update","href":"/api-reference-v2/reviews/bulkstatusupdate"}]},{"group":"Credit (Membership / Usage)","pages":[{"title":"Get Customer Credit Balance","openapi":"GET /endpointcreditv2/balance","href":"/api-reference-v2/credit/balance"},{"title":"Spend Customer Credit","openapi":"POST /endpointcreditv2/spend","href":"/api-reference-v2/credit/spend"},{"title":"Add Customer Credit","openapi":"POST /endpointcreditv2/add-credit","href":"/api-reference-v2/credit/add-credit"},{"title":"Paginate Customer Credit History","openapi":"GET /endpointcreditv2/paginate-credit-history","href":"/api-reference-v2/credit/paginate-credit-history"},{"title":"Register Membership Customer","openapi":"POST /endpointcreditv2/regist-membership","href":"/api-reference-v2/credit/regist-membership"},{"title":"Register Credit Usage Customer","openapi":"POST /endpointcreditv2/regist-credit-usage","href":"/api-reference-v2/credit/regist-credit-usage"},{"title":"Generate Immutable Checkout Link","openapi":"POST /endpointcreditv2/generate-immutable-checkout","href":"/api-reference-v2/credit/generate-immutable-checkout"}]},{"group":"SaaS Subscription License","pages":[{"title":"Verify License (SaaS)","openapi":"POST /endpointsaasv2/verify","href":"/api-reference-v2/saas/verify"},{"title":"Activate License (SaaS)","openapi":"POST /endpointsaasv2/activate","href":"/api-reference-v2/saas/activate"},{"title":"Deactivate License (SaaS)","openapi":"POST /endpointsaasv2/deactivate","href":"/api-reference-v2/saas/deactivate"}]},{"group":"Software License","pages":[{"title":"Verify License (Software)","openapi":"POST /endpointsoftwarev2/verify","href":"/api-reference-v2/software/verify"}]}]}]},"basePath":"","title":"Get Membership Members - Mayar Documentation","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["2b790eda92","b0f84f53ff"],"chunks":["ApiExamples-DTsgtCEj.js","utils-BMo572L7.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","addUniqueKeysToSchema-DPLK2Oq9.js","SectionHeading-P4UNTsMZ.js","conditional-requirements-CFM0id0Q.js","axios-vUo_bRtp.js"]}