Get membership type
GET /membership-types/{id}
Requires the membership_types:read permission. A missing record or a record owned by another organisation returns 404.
Authorization
X-API-Key required
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | RemyPass resource _id |
Data and reconciliation
Amounts use minor currency units (for example, GBP 25.50 is returned as 2550). Currency codes are lowercase. Relationship fields contain RemyPass record IDs; use the matching get endpoint to fetch related records. Optional relationships and dates may be absent or null. Checkout tokens, internal metadata, payment-provider credentials and worker leases are excluded.
Request Examples
curl -X GET "https://api.remypass.com/api/v1/public/membership-types/507f1f77bcf86cd799439011" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"Responses
| Status | Description |
|---|---|
200 | Success |
400 | Bad request. The top-level message explains what is invalid and, where applicable, the errors array contains structured field details. |
401 | Missing or invalid API key. |
403 | The caller is not allowed to access this resource. |
404 | Resource not found. |
429 | Rate limit exceeded. |
500 | Server error. |
200 Response Example
{
"success": true,
"message": "Success",
"data": {
"_id": "507f1f77bcf86cd799439011",
"createdAt": "2026-10-06T12:00:00.000Z",
"updatedAt": "2026-10-06T12:00:00.000Z",
"name": "Example",
"description": "example",
"benefits": "example",
"active": true,
"group": "507f1f77bcf86cd799439011",
"sortOrder": 0,
"price": {
"amount": 25,
"currency": "gbp"
},
"expiration": {
"interval": "year",
"intervalCount": 1,
"customInterval": "day"
},
"expiryPolicy": {
"mode": "rolling",
"timeZone": "example",
"rules": [
{
"label": "example",
"transactionStart": "example",
"transactionEnd": "example",
"expiryMonthDay": "example"
}
]
},
"introductoryOffer": {
"enabled": false,
"audience": "new_members_only",
"type": "free_first_period"
},
"pricingOptions": [
{
"optionId": "example",
"label": "example",
"automaticRenewal": "none",
"minimumTermCycles": 1,
"_id": "507f1f77bcf86cd799439011",
"price": {
"amount": 25,
"currency": "gbp"
},
"expiration": {
"interval": "year",
"intervalCount": 1,
"customInterval": "day"
},
"introductoryOffer": {
"enabled": false,
"requiresAdminReview": false,
"audience": "new_members_only",
"type": "free_first_period"
}
}
],
"pass": {
"issueOnPurchase": true,
"template": "507f1f77bcf86cd799439011",
"sendEmail": true
},
"lifecycle": {
"cancellationAction": "deactivate",
"refundAction": "revoke",
"paymentFailureAction": "do_nothing",
"gracePeriodDays": 7
}
}
}
Response Fields
| Field | Type | Description | Attributes |
|---|---|---|---|
success | boolean | ||
message | string | ||
data | object | Show child attributes
|