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

/Accounts/{id}

DELETE
/Accounts/{id}
Accounts

Request

Path Params
id
string <uuid>
required

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 DELETE '/Accounts/'

Responses

🟢200OK
application/json
Body
id
string <uuid>
optional
clientId
string <uuid>
optional
number
string 
optional
name
string 
optional
description
string  | null 
optional
type
enum<string> 
optional
Allowed values:
virtualphysical
normalBalance
enum<string> 
optional
Allowed values:
debtcredit
purpose
enum<string> 
optional
Allowed values:
operatingBankAccountssegregatedBankAccountssafeguardingBankAccountsunrecognizedTransactionsincompleteTransactionsclientLiabilitiesEMoneyclientLiabilitiesClaimedFundsfundsOnRestrictedAccountsliabilitiesToBaasProvidersrevenueFromFxOperationsrevenueFromAccountMaintenanceFeesrevenueFromTransactionFeesrevenueFromOtherFeesfxExpensesaccountMaintenanceFeestransactionExpensesownersFundsIntroduced
baasProviderId
string <uuid>
optional
baasProvider
object (BaasProviderDto) 
optional
id
string <uuid>
required
bankProviderCode
string 
required
shortName
enum<string> 
required
Allowed values:
myEUPayemBankclearJunctionmanualBaas
bic
string 
required
bankName
string 
required
products
array[string]
required
Allowed values:
incomingTransferoutgoingTransferfx
defaultPaymentMethods
array[string]
required
Allowed values:
sepaswiftinternal
paymentMethods
array[object (PaymentMethodInfoDto) {2}] 
required
state
enum<string> 
optional
Allowed values:
activerestrictedclosed
openedDate
string <date-time>
optional
currency
enum<string> 
optional
Allowed values:
caddkknoksekchfgbpusdeurpln
riskLevel
enum<string> 
optional
Allowed values:
lowmediumhigh
amount
number <double>
optional
pendingAmount
number <double>
optional
totalAmount
number <double>
optional
allowOutgoingOperations
boolean 
optional
allowIncomingOperations
boolean 
optional
mayOverdraft
boolean 
optional
iban
string  | null 
optional
swiftCredentials
object (SwiftCredentialsDto) 
optional
beneficiary
string 
required
iban
string 
required
bic
string 
required
bankName
string 
required
bankAccountNumber
string  | null 
required
sepaCredentials
object (SepaCredentialsDto) 
optional
beneficiary
string 
required
iban
string 
required
bic
string 
required
bankName
string 
required
bankAccountNumber
string  | null 
required
internalCredentials
object (InternalCredentialsDto) 
optional
bankAccountNumber
string 
required
paymentRequestsAmount
number <double>
optional
restrictedFundsAmount
number <double>
optional
Example
{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "clientId": "5e505642-9024-474d-9434-e5a44f505cc5",
    "number": "string",
    "name": "string",
    "description": "string",
    "type": "virtual",
    "normalBalance": "debt",
    "purpose": "operatingBankAccounts",
    "baasProviderId": "f803cec5-a8d2-4b0e-bbda-687ac7a44f3e",
    "baasProvider": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "bankProviderCode": "string",
        "shortName": "myEUPay",
        "bic": "string",
        "bankName": "string",
        "products": [
            "incomingTransfer"
        ],
        "defaultPaymentMethods": [
            "sepa"
        ],
        "paymentMethods": [
            {
                "paymentMethod": "sepa",
                "currencies": [
                    "cad"
                ]
            }
        ]
    },
    "state": "active",
    "openedDate": "2019-08-24T14:15:22Z",
    "currency": "cad",
    "riskLevel": "low",
    "amount": 0,
    "pendingAmount": 0,
    "totalAmount": 0,
    "allowOutgoingOperations": true,
    "allowIncomingOperations": true,
    "mayOverdraft": true,
    "iban": "string",
    "swiftCredentials": {
        "beneficiary": "string",
        "iban": "string",
        "bic": "string",
        "bankName": "string",
        "bankAccountNumber": "string"
    },
    "sepaCredentials": {
        "beneficiary": "string",
        "iban": "string",
        "bic": "string",
        "bankName": "string",
        "bankAccountNumber": "string"
    },
    "internalCredentials": {
        "bankAccountNumber": "string"
    },
    "paymentRequestsAmount": 0,
    "restrictedFundsAmount": 0
}
🟠400Bad Request
🟠404Not Found
🔴500Internal Server Error
Previous
/v2/ledger/internal/Accounts/{accountId}
Next
/v2/ledger/internal/Accounts/search
Built with