Skip to main content

Onboarding Pending

The Onboarding Pending API allows you to retrieve a paginated list of customers who are pending onboarding for transaction monitoring. Use this endpoint to track customer verification status and manage the onboarding pipeline.

API Endpoint

GET {base_url}/transactions/monitoring/onboarding-pending

Request Format

This endpoint accepts a GET request with query parameters for pagination.

Request Headers

Authorization: Bearer {token}

Query Parameters

ParameterTypeRequiredDefaultDescription
pagenumberNo1Page number (must be greater than 0)
pageSizenumberNo10Number of items per page (1–100)

Example Request URL

GET {base_url}/transactions/monitoring/onboarding-pending?page=1&pageSize=10

Response Format

{
"version": null,
"statusCode": 200,
"messages": ["Processed successfully"],
"result": {
"data": [
{
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"firstName": "John",
"lastName": "Doe",
"onboardingStatus": "Pending",
"onboardedBy": "officer@example.com",
"accountStatus": "Active",
"accountCount": 1,
"customerName": "John Doe",
"createdAt": "2025-03-15T10:30:00Z",
"customerLeanConnectionId": "conn_abc123"
}
],
"page": 1,
"pageSize": 10,
"totalCount": 45,
"filters": null,
"totalPages": 5,
"hasNextPage": true,
"hasPreviousPage": false,
"message": null,
"unreadLogsCount": 0
}
}

Response Fields

FieldTypeDescription
versionstringAPI version (nullable)
statusCodenumberHTTP status code
messagesstring[]Response messages
result.dataarrayList of customer onboarding records
result.data[].idstringUnique customer identifier
result.data[].firstNamestringCustomer's first name
result.data[].lastNamestringCustomer's last name
result.data[].onboardingStatusstringCurrent onboarding status (see values below)
result.data[].onboardedBystringOfficer who initiated the onboarding
result.data[].accountStatusstringAccount status — Active or Inactive
result.data[].accountCountnumberNumber of accounts associated with the customer (default: 0)
result.data[].customerNamestringComputed full name (firstName + lastName)
result.data[].createdAtstringISO 8601 timestamp of when the record was created
result.data[].customerLeanConnectionIdstringLean banking connection identifier
result.pagenumberCurrent page number
result.pageSizenumberNumber of items per page
result.totalCountnumberTotal number of matching records
result.filtersobjectApplied filters (nullable)
result.totalPagesnumberComputed total pages (ceil(totalCount / pageSize))
result.hasNextPagebooleantrue if page < totalPages
result.hasPreviousPagebooleantrue if page > 1
result.messagestringAdditional message (nullable)
result.unreadLogsCountnumberCount of unread log entries

Onboarding Status Values

StatusDescription
VerifiedCustomer has completed verification
PendingVerification is in progress
InvitedInvitation has been sent
EmailSentVerification email sent
EmailChangedCustomer changed their email
NotVerifiedCustomer has not completed verification
NoMailSentNo invitation email has been sent yet
LinkExpiredThe verification link has expired

Example Usage

cURL Example

curl -X GET \
'{base_url}/transactions/monitoring/onboarding-pending?page=1&pageSize=10' \
-H 'Authorization: Bearer your_token_here'

Error Handling

Status CodeDescriptionSolution
400Invalid pagination parametersEnsure page > 0 and pageSize is between 1 and 100
401UnauthorizedVerify your authentication token
403ForbiddenCheck that your account has the required permissions
500Internal server errorContact support with the error details
  • Add User — Register an individual for transaction monitoring
  • Add Company — Register a company for transaction monitoring
  • Customer Details — Retrieve the full profile of a specific customer