Authorization
string
required
Example:
Authorization | Bearer Paste-Your-API-Key-HereRequest Body
string
required
The unique identifier of the product (payment link) the new member is registered
against. The product must belong to the authenticated user.Example:
7c9d2e1f-4a5b-4c6d-8e9f-0a1b2c3d4e5fstring
required
The unique identifier of the membership tier the member is enrolled in.Example:
9b2d4f6a-8c1e-4a3b-bd5c-6e7f8a9b0c1dobject
required
The customer’s contact details.
string
required
The customer’s full name.
string
required
The customer’s email address. A customer may only be registered once per tier —
re-using an email that already exists on the same tier responds
400 "Email sudah terdaftar pada tier ini.".string
required
The customer’s mobile phone number.
integer
required
The monthly billing period for the membership (for example
1).Response
Successful Response — HTTP201
Main Structure (Root Object)
integer
Status code from the API.
201 on successful registration.string
Status message that describes the status code. Note the singular
message key
(write endpoints use message; read/list endpoints use the plural messages).object
The registration result wrapper.
object
The newly created membership customer record.
Errors
All errors use the envelope{ "statusCode": <code>, "message": "<reason>" } (singular message).
Error Example 400
integer
The HTTP status code of the error.
string
A human-readable description of the error.
