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:

VariantFieldTypeDescription
ibanibanstringIBAN of the beneficiary account. Used for AED, EUR, and GBP payments
account_numberaccount_numberstringAccount number of the beneficiary. Used for USD payments
account_numberrouting_numberstringRouting number of the beneficiary bank. Used for USD payments

Remitter Details

The bank account details of a payment remitter.

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

Identifier variants:

VariantFieldTypeDescription
ibanibanstringIBAN of the remitter account. Used for AED, EUR, and GBP payments
account_numberaccount_numberstringAccount number of the remitter. Used for USD payments
account_numberrouting_numberstringRouting number of the remitter's bank. Used for USD payments

Fee Source

The source account from which a fee is collected when fees are charged separately from the main transaction.

FieldTypeDescription
account_iduuidThe account from which the fee is debited
amountintegerFee amount in minor currency (e.g. 100 = 1.00)
currencystringISO currency code of the fee

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 ledgers - some operations such as internal transfers are not permitted across ledgers
quote_errorAn error occurred generating the quote required for the 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?