FinLego for developers
  1. Accounts
FinLego for developers
  • FinLego Core Banking
    • Services REST API
      • ClientProfile - FrontOffice
        • Client
          • /Client
          • /Client/deletion-notifications
      • ClientProfile - System
        • Clients
          • /internal/Clients
          • /internal/Clients
          • /internal/Clients/{clientId}/block
          • /internal/Clients/{clientId}/unblock
          • /internal/Clients/{clientId}
          • /internal/Clients/{clientId}
        • Documents
          • /internal/Clients/{clientId}/Documents/upload
          • /internal/Clients/{clientId}/Documents/{documentId}/download
          • /internal/Clients/{clientId}/Documents
          • /internal/Clients/{clientId}/Documents/{documentId}
      • GeneralLedger - System (1)
        • Accounts
          • /Accounts
            POST
          • /v2/internal/Accounts
            POST
          • /Accounts
            GET
          • /v2/internal/Accounts/recalculate
            POST
          • /Accounts/{id}
            PATCH
          • /internal/Accounts/calculateBalances
            POST
          • /Accounts/{id}
            GET
          • /v2/ledger/internal/Accounts/{accountId}
            GET
          • /Accounts/{id}
            DELETE
          • /v2/ledger/internal/Accounts/search
            POST
          • /Accounts/send-otp
            POST
          • /v2/ledger/internal/Accounts/getAggregatedAmounts
            GET
          • /Accounts/otp-verification
            POST
          • /Accounts/{accountNumber}
            GET
          • /Accounts/reorder-accounts
            PUT
        • Transactions
          • Transactions by filter
          • /internal/Transactions/{id}
          • /internal/Transactions
          • /internal/Transactions/query
          • /internal/Transactions/report
        • BaasProvider
          • /BaasProvider/available-currencies
        • BackgroundJob
          • /internal/BackgroundJob/AccountBalanceCheckJob
        • DailyAccountBalance
          • /internal/DailyAccountBalance
          • /internal/DailyAccountBalance/recalculate
        • DailyCheck
          • /internal/DailyCheck
          • /internal/DailyCheck/details
        • Reports
          • /internal/Reports/ReconciliationReport
        • TreasuryManagement
          • /internal/TreasuryManagement/summary
        • Payments
          • Creates payment with single transaction and transfers money between accounts
          • Creates payment in Draft state without any money transfers
          • Pends payment and holds funds in case of withdrawals
          • Posts payment, withdraws held funds and deposits it to corresponding account
          • Cancels payment and performs payback in case of held
      • GeneralLedger - System (2)
        • Accounts
          • /v2/internal/Accounts
          • /v2/internal/Accounts/recalculate
          • /internal/Accounts/calculateBalances
          • /v2/ledger/internal/Accounts/{accountId}
          • /v2/ledger/internal/Accounts
          • /v2/ledger/internal/Accounts/getAggregatedAmounts
        • Payments
          • Creates payment with single transaction and transfers money between accounts
          • Creates payment in Draft state without any money transfers
          • Pends payment and holds funds in case of withdrawals
          • Posts payment, withdraws held funds and deposits it to corresponding account
          • Cancels payment and performs payback in case of held
      • TransferOrchestrator - FrontOffice
        • Confirmations
          • Generate a new confirmation code for the specified transfer.
        • Documents
          • Downloads a document by its file name.
        • Recipients
          • Fetch recipients based on the specified filters.
          • Fetch recipients based on the specified filters.
          • Add a recipient.
          • Fetch recipient details by the specified recipient identifier.
          • Fetch recipient details by the specified recipient identifier.
          • Update the visibility details of a recipient.
        • Transfers
          • Fetch transfers based on the specified filters.
          • Fetch transfers based on the specified filters.
          • Fetch transfer details by the specified transfer identifier.
          • Fetch transfer details by the specified transfer identifier.
          • Create an outgoing transfer.
          • Fetch outgoing transfer details by the specified transfer identifier.
          • Confirm an outgoing transfer.
          • Fetch incoming transfer details by the specified transfer identifier.
          • Cancel an outgoing transfer by the transfer identifier.
          • Fetch foreign exchange transfer details by the specified transfer identifier.
          • Fetch outgoing transfer details by the specified transfer identifier.
          • Fetch incoming transfer details by the specified transfer identifier.
          • Create a foreign exchange transfer.
          • Confirm an outgoing transfer.
          • Cancel an outgoing transfer by the transfer identifier.
          • Fetch foreign exchange transfer details by the specified transfer identifier.
          • Fetch a transfer type by recipient account and currency.
      • TransferOrchestrator - System (1)
        • Documents
          • Downloads a document by its file name and client identifier.
        • IncomingRequests
          • Fetch internal requests based on the specified filters.
          • process a transfer manually.
        • Recipients
          • Add a recipient.
        • Transfers
          • Fetch internal transfers based on the specified filters.
          • Fetch outgoing transfer details by the specified transfer identifier.
          • Fetch incoming transfer details by the specified transfer identifier.
          • Assign an unrecognized incoming transfer.
          • Fetch foreign exchange transfer details by the specified transfer identifier.
          • Execute a transfer manually.
          • Continue processing of an outgoing transfer.
          • Fetch outgoing transfers based on the specified filters.
          • Fetch incoming transfers based on the specified filters.
          • Fetch foreign exchange transfers based on the specified filters.
      • TransferOrchestrator - System (2)
        • Recipients
          • Add a system recipient.
        • Transfers
          • /internal/integration/Transfers/outgoing
          • /internal/integration/Transfers/outgoing/payment-request
  • Onboarding Integration
    • ClientsImport
      • Imports a new individual client from an integrated WL customer's onboarding system
      • Imports a new company client from an integrated WL customer's onboarding system
    • SumsubWebhooks
      • /integration/sumsub-webhooks/update-state
      • Simulates a verification response.
  1. Accounts

/v2/ledger/internal/Accounts/search

POST
/v2/ledger/internal/Accounts/search
Accounts

Request

Body Params application/json
array[string <uuid>]
optional
Example
[
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/ledger/internal/Accounts/search' \
--header 'Content-Type: application/json' \
--data-raw '[
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]'

Responses

🟢200OK
application/json
Body
array of:
id
string <uuid>
optional
created
object (Payler.Helpers.DateTimes.DateTimeOffsetStrict) 
optional
modified
object (Payler.Helpers.DateTimes.DateTimeOffsetStrict) 
optional
normalBalance
enum<string> 
optional
Allowed values:
debtcredit
accountingType
enum<string> 
optional
Allowed values:
assetsliabilitiesrevenueexpensesownersFundsIntroduced
number
string 
optional
currency
enum<string> 
optional
Allowed values:
cadcnydkknoksekchfgbpusdeurpln
amount
number <double>
optional
pendingAmount
number <double>
optional
totalAmount
number <double>
optional
mayOverdraft
boolean 
optional
Example
[
    {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "created": {},
        "modified": {},
        "normalBalance": "debt",
        "accountingType": "assets",
        "number": "string",
        "currency": "cad",
        "amount": 0,
        "pendingAmount": 0,
        "totalAmount": 0,
        "mayOverdraft": true
    }
]
🟠400Bad Request
🟠404Not Found
🟠422Unprocessable Content
🔴500Internal Server Error
Previous
/Accounts/{id}
Next
/Accounts/send-otp
Built with