pending status first.Authorization: Bearer ********************{
"clientUserId": "3EF5D065-76F8-4D3E-801A-B329D15F461A",
"firstName": "DragonPass",
"lastName": "DragonPass",
"phoneNumber": "8081966002",
"callingCode": "44",
"email": "developer@dragonpass.com",
"activationDate": "2028-10-31T23:59:59+00:00",
"expirationDate": "2028-12-31T23:59:59+00:00"
}curl --location --request POST 'https://developer-sandbox.dragonpass.com/api/v2/memberships' \
--header 'X-Program-ID;' \
--header 'X-Request-ID;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientUserId": "3EF5D065-76F8-4D3E-801A-B329D15F461A",
"firstName": "DragonPass",
"lastName": "DragonPass",
"phoneNumber": "8081966002",
"callingCode": "44",
"email": "developer@dragonpass.com",
"activationDate": "2028-10-31T23:59:59+00:00",
"expirationDate": "2028-12-31T23:59:59+00:00"
}'{
"code": 0,
"data": {
"programId": "1876920048220766208",
"clientUserId": "3EF5D065-76F8-4D3E-801A-B329D15F461A",
"membershipId": "8888000066668888",
"status": 1,
"registrationDate": "2025-01-31T23:59:59+00:00",
"activationDate": "2028-10-31T23:59:59+00:00",
"expirationDate": "2028-12-31T23:59:59+00:00",
"entitlements": {
"moduleExclusiveEntitlements": [
{
"module": 1,
"details": {
"cardholderExclusiveEntitlements": 1,
"guestsExclusiveEntitlements": 1,
"sharedEntitlements": 0,
"allowedGuestsPerUsage": 1,
"maxGuestsNextUse": 1
}
}
]
}
}
}