Individual Customer APIs (B2C)

Complete API reference for individual customer onboarding and lifecycle management

Individual Customer APIs (B2C)

End-to-end API reference for individual customer lifecycle management — from categorization and registration through identity verification, consent collection, and account activation.


Onboarding Journey

The individual customer onboarding flow follows 5 customer API phases, plus verification and consent steps handled by the Verification & Compliance APIs:

PhaseAPI SectionEndpointDescription
1. CategorizationCustomerGET /categorization/hierarchy/{tenantId}Retrieve available customer categories and risk tiers
2. RegistrationCustomerPOST /registrationCreate a new individual customer with personal details
3. SessionCustomerPOST /{customerId}/users/{userId}/sessionsAuthenticate and obtain a JWT access token
4. VerificationCustomerPOST /{customerId}/verificationInitiate identity verification for the customer
5. KYC DocumentsVerificationPOST /verifications/{verificationId}/documentsUpload identity and address documents
6. KYC ApprovalVerificationPOST /verifications/{verificationId}/approveAdmin approves the verification submission
7. ConsentsVerificationPOST /{customerId}/consents/{consentType}Accept terms, privacy, and data-processing consents
8. ActivationCustomerPOST /{customerId}/activationActivate the customer account and wallet

API Endpoints


Quick Start

1. Retrieve Categories

bash
curl -X GET "https://sandbox.finhub.cloud/api/v2.1/customer/individual/categorization/hierarchy/{tenantId}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Tenant-ID: YOUR_TENANT_ID"

2. Register Customer

bash
curl -X POST "https://sandbox.finhub.cloud/api/v2.1/customer/individual/registration" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Tenant-ID: YOUR_TENANT_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "password": "SecurePass123!",
    "customerCategory": { "id": "fs-cat-b2c-low-001" },
    ...
  }'

3. Create Session

bash
curl -X POST "https://sandbox.finhub.cloud/api/v2.1/customer/individual/{customerId}/users/{userId}/sessions" \
  -H "X-Tenant-ID: YOUR_TENANT_ID" \
  -H "Content-Type: application/json" \
  -d '{ "username": "user@example.com", "password": "SecurePass123!" }'

4-8. Complete Verification, Consents & Activation

See the Verification & Compliance section for document upload, approval, and consent endpoints, then return to the Activation endpoint to complete onboarding.


Prerequisites

  • API credentials obtained (Tenant ID, API keys, admin session token)
  • Customer categorization selected from the hierarchy
  • Customer personal information collected (name, email, date of birth, nationality)
  • Identity documents ready (passport or national ID, proof of address)

Customer Lifecycle

stateDiagram-v2
    [*] --> Categorization: Get category hierarchy
    Categorization --> Registration: Select category
    Registration --> Session: Customer created
    Session --> Verification: JWT obtained
    Verification --> Documents: KYC initiated
    Documents --> Approval: Documents uploaded
    Approval --> Consents: KYC approved
    Consents --> Activation: All 3 consents accepted
    Activation --> [*]: Account ACTIVE

    note right of Verification
        Uses Verification &
        Compliance APIs
    end note

    note right of Approval
        Admin review required
        (1-3 business days)
    end note

    note right of Activation
        Requires:
        ✓ KYC approved
        ✓ All consents accepted
    end note

Type to search…

↑↓ navigate open esc close