Skip to main content

Get All Settings

Retrieve all platform settings grouped by category.

Example Request

Example Response (200)


Get Settings by Category

string
required
The settings category. One of general, payments, security, notifications.

Example Request

Example Response (200)


Update Settings

Update one or more platform settings. Only the fields provided will be updated.
object
General platform settings.
string
The display name of the platform.
string
Platform support email address.
boolean
Enable or disable maintenance mode.
object
Payment-related settings.
string
Minimum accepted payment amount.
string
Maximum accepted payment amount.
string
Platform fee as a percentage.
object
Security-related settings.
integer
Maximum failed login attempts before lockout.
integer
Session timeout in minutes.
object
Notification-related settings.
boolean
Enable or disable email notifications.
integer
Number of retry attempts for failed webhooks.

Example Request

Example Response (200)


Email Templates

List Email Templates

Retrieve all configured email templates.

Example Response (200)

Create Email Template

string
required
Unique template identifier name (e.g., payment_confirmation).
string
required
Email subject line. Supports {{variable}} placeholders.
string
required
HTML email body. Supports {{variable}} placeholders.
string[]
List of variable names used in the template.
boolean
default:"true"
Whether the template is active.

Example Response (201)

Update Email Template

string
required
The unique email template identifier.
string
Updated email subject line.
string
Updated HTML email body.
string[]
Updated list of variable names.
boolean
Enable or disable the template.

Example Response (200)


Retrieve all legal documents including drafts.

Example Response (200)

string
required
Document type. One of terms_of_service, privacy_policy, aml_policy, refund_policy.
string
required
Document title.
string
required
Document content in Markdown format.
string
required
Version string (e.g., 1.0, 2.1).
boolean
default:"false"
Whether to immediately publish this document. Setting to true deactivates the previous active version of the same type.

Example Response (201)

string
required
The unique legal document identifier.
string
Updated document title.
string
Updated document content.
string
Updated version string.
boolean
Activate or deactivate the document.

Example Response (200)


Retrieve all currently active legal documents. This endpoint is public and does not require authentication.

Example Response (200)