API Reference
Transactions and notifications

List notification preferences

GET/api/v1/customer/{customerId}/notification/preference
Base URL: https://bloquo.mimicr.dev · provider: https://api.bloquo.io

Returns a paginated list of notification preferences for the customer.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

customerIdinteger<int64>required

Query parameters

pageNumberinteger
pageSizeinteger

Responses

200Paginated list of notification preferences.
statusboolean
Example: true
resultobject
Show child attributes
dataobject[]
Show child attributes
idinteger<int64>
Example: 1
customerIdinteger<int64>
Example: 42
webhookUrlstring
Example: "https://api.acme.com/webhooks/bloquo"
emailstring | null

Optional email address for email-type notifications.

notificationTypestring

Channel through which the notification is sent. For order notifications (Deposit, Withdrawal, Trade, FxPayment), only Webhook is supported, delivery always posts the payload to the configured webhook URL. Email is supported for Compliance notifications only. Whatsapp and Telegram are internal operational channels, not available for customer preferences.

WebhookEmailWhatsappTelegram
orderTypestring

Type of order that triggered the notification.

TradeWithdrawalDepositRefundComplianceFxPayment
isEnabledboolean
Example: true
createdBystring
Example: "admin"
lastUpdatedBystring
Example: "admin"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
paginationobject

Pagination details returned by notification list endpoints.

Show child attributes
totalItemsinteger
Example: 25
pageinteger
Example: 1
pageSizeinteger
Example: 10
totalPagesinteger
Example: 3
hasPreviousPageboolean
Example: false
hasNextPageboolean
Example: true
messageany | null
404No preferences found for the customer.
statusboolean
resultany | null
messagestring