Common Types & Definitions

This page documents shared types used across Lorum APIs and webhook events.

When a field in an API response or webhook payload references one of these types, you can find its full definition here.

Beneficiary Details

The bank account details of a payment beneficiary.

FieldTypeDescription
namestringThe name of the beneficiary
identifierOneOfThe account identifier - see variants below

Identifier variants:

VariantFieldDescription
ibanibanIBAN of the beneficiary account. Used for AED, EUR, and GBP payments.
wireaccount_numberAccount number of the beneficiary. Used for USD payments
wirerouting_numberRouting number of the beneficiary bank. Used for USD payments
scanaccount_numberAccount number of the beneficiary. Used for GBP payments.
scansort_codeBeneficiary bank sort code. Used for GBP payments.

Failure Reason

The reason a payment, transfer, or exchange operation failed. Returned as part of _failed webhook events and failed API responses.

ValueDescription
bank_errorThe payment was rejected by the bank. Includes a string with the specific bank error message
insufficient_fundsThe debit account does not have enough funds to complete the operation
internal_accounts_differThe accounts are on different internal accounts - some operations such as internal transfers are not permitted
quote_errorAn error generating quote needed for a payment
system_errorAn unexpected system error occurred while processing the operation

Payment Statuses

The states a payment can be in during its lifecycle. Executed, Failed, and Settled are terminal states.

StatusDescriptionTerminal?
CreatedPayment has been created in the Lorum system❌
SubmittedPayment has been submitted to the scheme for processing❌
ExecutedPayment has been processed by the scheme. For outbound payments, funds may still take time to arrive in the beneficiary account✅
FailedPayment failed to process✅
SettledInbound payments only - payment has been received and credited to the account✅

Purpose Codes

The purpose of a transaction. Passed when creating payments and returned in payment webhook events.

CodeDescription
charityCharitable donation or contribution
commercial_investmentCommercial investment activity
corporate_cardCorporate card payment
credit_cardCredit card payment
dividendDividend payment to shareholders
familyFamily support or personal remittance
financial_servicesPayment for financial services
goods_soldPayment for goods sold
goods_boughtPayment for goods purchased
governmentGovernment-related payment
insuranceInsurance premium or claim
intergroup_transferTransfer between entities within the same group
intra_group_dividendsDividend payment within a corporate group
information_technologyPayment for IT services or products
leasingLease or rental of assets
loan_chargesLoan repayment or associated charges
merchant_settlementSettlement of merchant transactions
mobile_walletMobile wallet top-up or transfer
non_resident_transfer_between_accountsTransfer between accounts where the account holder is not a resident of the operating country
noneNo specific purpose - use when the purpose is unknown or not applicable
pensionPension payment or contribution
prepaid_cardsPrepaid card loading or payment
personal_expensesPersonal expense payment
professionalPayment for professional services
rentalRental payment
resident_transfer_between_accountsTransfer between accounts where the account holder is a resident of the operating country
salariesSalary or payroll payment
telecommunicationsPayment for telecommunications services
travelTravel-related payment
utility_billUtility bill payment

Did this page help you?