cURL
curl --request POST \ --url https://api.rntor.com/v1/plans \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Client-ID: <api-key>' \ --data ' { "name": "<string>", "price": 123, "description": "<string>", "currency": "<string>", "billing_cycle": "monthly" } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Premium Membership", "description": "Full access to all amenities", "price": 299, "currency": "USD", "billing_cycle": "monthly", "credits": 100, "day_passes": 10, "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Create a new membership plan
Your API client secret
Your API client ID
monthly
yearly
Plan created
Show child attributes