API Reference
Transactions and notifications

List notification orders

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

Returns a paginated list of notification orders for the customer. Each order records an outbound notification including its delivery status and attempt history.

Supports filtering by accountId, type, orderId, orderType, status. Supports sorting by customerId, orderId, accountId, createdAt.

Authorization

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

Path parameters

customerIdinteger<int64>required

Query parameters

accountIdinteger<int64>

Filter by account ID.

typestring

Filter by notification channel.

WebhookEmailWhatsappTelegram
orderIdinteger<int64>

Filter by the originating order ID.

orderTypestring

Filter by order type.

TradeWithdrawalDepositRefundComplianceFxPayment
statusstring

Filter by delivery status.

PendingProcessingWaitingForRetryCompletedFailed
sortBystring

Field to sort by.

CustomerIdOrderIdAccountIdCreatedAt
sortOrderstring

Sort direction.

ascdesc
pageinteger
pageSizeinteger

Responses

200Paginated list of notification orders.
statusboolean
Example: true
resultobject
Show child attributes
dataobject[]
Show child attributes
idinteger<int64>
Example: 100
customerIdinteger<int64>
Example: 42
accountIdinteger<int64> | null
Example: 10
typestring

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
webhookUrlstring

URL to which the notification payload was sent.

Example: "https://api.acme.com/webhooks/bloquo"
payloadstring

JSON string of the notification payload that was sent to the webhook. The structure varies by orderType: see WebhookPayloadDeposit, WebhookPayloadWithdrawal, WebhookPayloadTrade, WebhookPayloadFxPayment, and WebhookPayloadCompliance.

Example: "{\"orderId\":200,\"status\":\"Completed\"}"
orderIdinteger<int64>

ID of the order that triggered this notification.

Example: 200
orderTypestring

Type of order that triggered the notification.

TradeWithdrawalDepositRefundComplianceFxPayment
statusstring

Current delivery status of a notification order. - Pending, queued, not yet attempted. - Processing, delivery in progress. - WaitingForRetry, previous attempt failed; retry scheduled. - Completed, delivered successfully. - Failed, all retry attempts exhausted.

PendingProcessingWaitingForRetryCompletedFailed
notifyTelegramboolean

Whether a Telegram notification was also dispatched.

Example: false
notifyTeamsboolean

Whether a Microsoft Teams notification was also dispatched.

Example: false
nextAttemptAtstring<date-time> | null

Scheduled time for the next retry. Null when not in WaitingForRetry state.

templateIdinteger<int64> | null
attemptsobject[]
Show child attributes
idinteger<int64>
Example: 1
notificationOrderIdinteger<int64>
Example: 42
successboolean

Whether the delivery attempt succeeded.

Example: true
responsestring

Raw response body received from the webhook endpoint (stored as JSON string).

Example: "{\"received\":true}"
sourcestring

Whether the delivery attempt was triggered automatically by the retry worker (Automatic) or manually via the resend endpoint (Manual).

AutomaticManual
userIdstring | null

User who triggered the attempt (only set for manual resends).

createdBystring
Example: "System"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
createdBystring
Example: "System"
lastUpdatedBystring
Example: "System"
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
messagestring
Example: "Notification Orders successfully retrieved."
204No notification orders found matching the filters.