Models & Types

Every request and response model, enumeration and error type used by the myPOS Banking API. Any property whose type is itself a model links to that model’s section on this page, and the endpoint pages link back here.

NameKindDescription
Account Statement RequestModelRequest to generate an account statement file for one account and date.
Account ResponseModelSummary information for a merchant account.
Account Details ResponseModelDetailed information about a single merchant account.
Paginated List of AccountsModelPaginated list of accounts.
Paginated List of TransactionsModelPaginated list of transactions.
General DetailsModelGeneral flags and type information about a transaction.
Transaction DetailsModelA single key-value detail entry for a transaction. The full set of entries varies by transaction type.
Multiple Transactions ResponseModelDetailed information for a single transaction, returned as part of a multiple-transaction lookup.
Transaction Details ResponseModelFull structured details for a single transaction.
Transaction List ResponseModelSummary information for a single transaction in a paginated list.
Account Statement Document TypeEnumOutput format for generated account statement files.
Account StatusEnumCurrent lifecycle status of an account.
Reference Number TypeEnumIndicates what kind of merchant reference was associated with the transaction.
Transaction OrderEnumSort direction for transaction list results.
Transaction SignEnumIndicates the direction of a transaction relative to the merchant account.
Problem DetailsErrorThe standard error payload (RFC 7807) returned when a request fails.
Validation Problem DetailsErrorThe error payload returned when a request fails validation, adding a per-field errors map.

Models

Account Statement Request

Request to generate an account statement file for one account and date.

AttributeTypeDescription
account_numberstringThe account number for which to generate the statement.
document_typeAccount Statement Document TypeOutput format for generated account statement files. - `MT940MultiCash` — MT940 format compatible with MultiCash banking software. - `MT940SWIFT` — Standard MT940 SWIFT message format. - `MT940Structured` — MT940 structured format with additional structured data fields. - `MT940StructuredWithIban` — MT940 structured format with the IBAN included in the output.
datestring (date-time)The date for which to generate the statement. Only the date portion is used (`yyyy-MM-dd`); the time component is ignored.

Account Response

Summary information for a merchant account.

AttributeTypeDescription
account_numberstringThe account number used for transactions and statements.
Example: 50085063456
ibanstringIBAN for the account. For some account types this equals `account_number`.
Example: 50085063456
currencystringISO 4217 currency code for the account (e.g., `EUR`, `GBP`).
Example: EUR
namestringDisplay name of the account as configured by the merchant.
Example: EUR Account
is_reserveboolean`true` if this is a reserve account — funds held by the platform as a security deposit and not available for immediate withdrawal.
is_suspense_accountboolean`true` if this is a suspense account used for temporary holds or pending settlements.

Account Details Response

Detailed information about a single merchant account.

AttributeTypeDescription
statusAccount StatusCurrent lifecycle status of an account. - `active` — Account is open and fully operational. - `test` — Account is in test/sandbox mode. - `selfOut` — Account has been self-closed by the holder. - `executed` — Account has been fully executed and settled. - `restructured` — Account has undergone restructuring. - `transferredInArgus` — Account was transferred to the Argus risk management system. - `closedByHolder` — Account was closed at the account holder's request. - `closedByIssuer` — Account was closed by the issuing institution. - `deleted` — Account has been deleted. - `reserved` — Account is reserved but not yet active. - `unknown` — Account status could not be determined.
date_createdstring (date-time)Date and time the account was created.
wallet_idinteger (int64)Internal platform wallet identifier linked to this account.
account_numberstringThe account number.
account_namestringDisplay name of the account.
modulr_idstringAccount identifier in the Modulr payment platform.
modulr_currencystringISO 4217 currency code of the linked Modulr account.
balancenumber (double)Current available balance in `currency`.
balance_scnumber (double)Current balance expressed in the settlement currency.
currencystringISO 4217 currency code for this account (e.g., `EUR`).

Paginated List of Accounts

Paginated list of accounts.

AttributeTypeDescription
itemsarray of Account ResponseThe accounts on the current page.
pageintegerCurrent page number.
Example: 1
page_sizeintegerNumber of items per page.
Example: 20
total_pagesintegerTotal number of pages.
Example: 1
total_countintegerTotal number of accounts across all pages.
Example: 2
has_previous_pageboolean`true` if there is a page before the current one.
has_next_pageboolean`true` if there is a page after the current one.

Paginated List of Transactions

Paginated list of transactions.

AttributeTypeDescription
itemsarray of Transaction List ResponseThe transactions on the current page.
pageintegerCurrent page number.
page_sizeintegerNumber of items per page.
total_pagesintegerTotal number of pages.
total_countintegerTotal number of transactions across all pages.
has_previous_pageboolean`true` if there is a page before the current one.
has_next_pageboolean`true` if there is a page after the current one.

General Details

General flags and type information about a transaction.

AttributeTypeDescription
can_request_reversalboolean`true` if a reversal can still be requested for this transaction.
is_feeboolean`true` if this transaction is a platform fee charge rather than a card payment.
is_reversalboolean`true` if this transaction is itself a reversal of an earlier transaction.
transaction_typestringTransaction type code that categorises the transaction (e.g., `013` for a card payment, `501` for a fee).
Example: 501

Transaction Details

A single key-value detail entry for a transaction. The full set of entries varies by transaction type.

AttributeTypeDescription
valuestringThe detail value.
Example: 2722
labelstringHuman-readable label describing what this detail represents.
Example: Payment from card

Multiple Transactions Response

Detailed information for a single transaction, returned as part of a multiple-transaction lookup.

AttributeTypeDescription
payment_referencestringThe payment reference this entry corresponds to.
generalGeneral DetailsGeneral flags and type information about a transaction.
detailsarray of Transaction DetailsVariable list of key-value detail entries for the transaction. Content varies by `transaction_type`.

Transaction Details Response

Full structured details for a single transaction.

AttributeTypeDescription
generalGeneral DetailsGeneral flags and type information about a transaction.
detailsarray of Transaction DetailsVariable list of key-value detail entries for the transaction. Content varies by `transaction_type`.

Transaction List Response

Summary information for a single transaction in a paginated list.

AttributeTypeDescription
idinteger (int64)Unique internal transaction ID. Can be used as `start_trn_id` in subsequent requests for cursor-based iteration.
Example: 10474587
datestring (date-time)Date and time the transaction occurred.
Example: 2025-10-20T10:52:36
payment_referencestringUnique platform-assigned payment reference. Use this value to retrieve full transaction details via the single or multiple detail endpoints.
Example: POSA01525856ITL4
transaction_typestringTransaction type code that categorises the transaction (e.g., `013` for a card payment, `501` for a fee).
Example: 013
transaction_currencystringISO 4217 currency code for the settled transaction amount.
Example: EUR
transaction_amountnumber (double)Amount settled in `transaction_currency`.
Example: 0.88
original_currencystringISO 4217 currency code of the original card transaction before Dynamic Currency Conversion (DCC). Equals `transaction_currency` when no conversion occurred.
Example: EUR
original_amountnumber (double)Amount in `original_currency` before any DCC conversion.
Example: 0.22
signTransaction SignIndicates the direction of a transaction relative to the merchant account. - `Credit` — Incoming transaction; funds were received into the account (e.g., a card payment). - `Debit` — Outgoing transaction; funds were sent out of the account (e.g., a fee or refund).
reference_numberstringMerchant-assigned reference number submitted with the original payment (e.g., an invoice or order ID). See `reference_number_type` for the reference category.
Example: REF1234567890
reference_number_typeReference Number TypeIndicates what kind of merchant reference was associated with the transaction. - `None` — No reference number was provided. - `ReferenceNumber` — A generic merchant reference number. - `InvoiceNumber` — An invoice number. - `ProductID` — A product identifier. - `ReservationNumber` — A reservation or booking number.
terminal_idstringIdentifier of the POS terminal that processed the transaction.
Example: 80026232
serial_numberstringSerial number of the POS device.
Example: N96N960WC15224
account_numberstringAccount number to which this transaction was settled.
Example: 50480563548
ruidstringMerchant-assigned Reference Unique ID from the original payment request — typically an order identifier. Can be used to filter the transaction list via the `ruid` query parameter.
Example: ORDER-00123
billing_descriptorstringMerchant billing descriptor — the name that appears on the cardholder's bank statement.
Example: DEMO K300
panstringLast 4 digits of the card used for the transaction, masked with an asterisk (e.g., `*9766`).
Example: *9766
descriptionstringHuman-readable description of the transaction.
Example: DEMO K300 - 000057 / Payment on TID 80025996, 0.88 EUR

Enumerations

Account Statement Document Type

Output format for generated account statement files.

ValueDescription
MT940MultiCashMT940 format compatible with MultiCash banking software.
MT940SWIFTStandard MT940 SWIFT message format.
MT940StructuredMT940 structured format with additional structured data fields.
MT940StructuredWithIbanMT940 structured format with the IBAN included in the output.

Account Status

Current lifecycle status of an account.

ValueDescription
activeAccount is open and fully operational.
testAccount is in test/sandbox mode.
selfOutAccount has been self-closed by the holder.
executedAccount has been fully executed and settled.
restructuredAccount has undergone restructuring.
transferredInArgusAccount was transferred to the Argus risk management system.
closedByHolderAccount was closed at the account holder's request.
closedByIssuerAccount was closed by the issuing institution.
deletedAccount has been deleted.
reservedAccount is reserved but not yet active.
unknownAccount status could not be determined.

Reference Number Type

Indicates what kind of merchant reference was associated with the transaction.

ValueDescription
NoneNo reference number was provided.
ReferenceNumberA generic merchant reference number.
InvoiceNumberAn invoice number.
ProductIDA product identifier.
ReservationNumberA reservation or booking number.

Transaction Order

Sort direction for transaction list results.

ValueDescription
AscendingReturn results oldest-first (earliest date first).
DescendingReturn results newest-first (latest date first).

Transaction Sign

Indicates the direction of a transaction relative to the merchant account.

ValueDescription
CreditIncoming transaction; funds were received into the account (e.g., a card payment).
DebitOutgoing transaction; funds were sent out of the account (e.g., a fee or refund).

Error responses

Failed requests return a Problem Details object (RFC 7807). Validation failures (400 Bad Request) return Validation Problem Details, which adds a per-field errors map.

Problem Details

The standard error payload (RFC 7807) returned when a request fails.

AttributeTypeDescription
typestring
titlestring
statusinteger
detailstring
instancestring
additionalProp1string
additionalProp2string
additionalProp3string

Validation Problem Details

The error payload returned when a request fails validation, adding a per-field errors map.

Has the same shape as Problem Details.

AttributeTypeDescription
typestring
titlestring
statusinteger
detailstring
instancestring
additionalProp1string
additionalProp2string
additionalProp3string