generated: '2026-09-27' method: derived generator: derive-data-model.py source: - openapi/payment-order-client-api-v2.0.0.yaml notation: has_one = property $ref; has_many = array of $ref; belongs_to = _id field summary: entities: 63 entities_in_spec: 63 relationships: 72 entities: - name: AccountIdentification fields: 2 - name: ApprovalTypeDto fields: 4 description: An approval type, also known as approval level, is used to allow a hierarchy of approvals to grant to various users or groups to allow complex policies to be defined. - name: BadRequestError fields: 2 - name: Bank fields: 4 description: This object is used to identify the counterparty or correspondent bank. - name: BreachInfo fields: 5 - name: BreachReportError fields: 4 - name: BreachReportItem fields: 5 - name: BulkPaymentOrdersApprovalPutRequest fields: 3 - name: BulkPaymentOrdersApprovalPutResponse fields: 5 - name: ContextualInformation fields: 5 - name: CounterpartyAccount fields: 5 description: The counterparty Account is the original account identification plus the arrangement if applicable. - name: EntityDescription fields: 3 - name: ErrorItem fields: 3 description: A validation error - name: ExchangeRateInformation fields: 4 description: The detailed information on the exchange rate that has been used in the payment transaction. - name: Identification fields: 2 - name: IdentifiedPaymentOrder fields: 31 - name: IdentifiedTransaction fields: 14 description: The object defining the identified transaction, which means the counterparty will have a arrangementId where applicable. - name: InitiateCounterpartyAccount fields: 2 description: The counterparty Account is the original account identification plus the type of account if applicable. It also holds the details of the selected contact, if any. - name: InitiatePaymentOrder fields: 10 - name: InitiateTransaction fields: 14 description: The object defining the transaction to be initiated. - name: InvolvedParty fields: 4 description: This object is a common denominator for the debtor or creditor party. - name: LogicalPolicyDetailsDto fields: 3 description: A policy declaration that allows you to add logical operators to the contained policy items. - name: OriginatorAccount fields: 4 description: The product identification of the originator - name: PaymentOrderApprovalPutRequest fields: 2 - name: PaymentOrderCancelPostRequest fields: 1 - name: PaymentOrderCancelPostResponse fields: 1 - name: PaymentOrderGetResponse fields: 32 - name: PaymentOrderPut fields: 0 - name: PaymentOrdersPost fields: 10 - name: PaymentOrdersPostResponse fields: 13 - name: PaymentOrdersValidatePost fields: 10 - name: PaymentOrdersValidatePostResponse fields: 17 - name: PolicyItemDetailsDto fields: 2 description: A detailed policy item with the full approval type. - name: PostalAddress fields: 7 description: Postal address object with fields - name: PresentationApprovalDetailDto fields: 18 description: A detailed approval object that holds extended details of a single item to be approved. - name: PresentationApprovalTypeDto fields: 4 description: A simple object that represents a type of approval that can be placed on an approval. - name: PresentationPolicyDto fields: 5 description: This object describes how a policy is built up. It tells you what policies apply (#policyItems) or if you can self-approve. - name: PresentationPolicyItemDto fields: 2 - name: PresentationRecordDto fields: 8 description: A single record of either an approval or rejection by a user on an approval request. - name: RateGet fields: 1 - name: RemittanceInformation fields: 2 description: This is the object representation of the remittance info and can contain different types of remittance info. It is only used in responses, not for input requests! - name: Schedule fields: 8 description: Schedule for recurring transfer. Mandatory if paymentMode is RECURRING - name: SelectedContactDto fields: 2 description: 'Holds the contact and account id when an account from a contact was selected while creating a payment. This information is not persisted in DBS but can be used in service extensions to enrich details ' - name: TimeFrame fields: 3 - name: UnauthorizedError fields: 2 - name: bad-request-error fields: 2 - name: bulk-payment-orders-approval-put-request fields: 3 - name: bulk-payment-orders-approval-put-response fields: 5 - name: currencies-get-response-body fields: 1 description: Currency - name: currency fields: 3 - name: error-item fields: 3 - name: forbidden-error fields: 2 - name: initiate-payment-order-with-id fields: 0 - name: internal-server-error fields: 1 description: Represents HTTP 500 Internal Server Error - name: not-found-error fields: 2 - name: payment-order-approval-request fields: 2 - name: payment-order-cancel-request fields: 1 - name: payment-order-cancel-response fields: 1 - name: payment-order-get-response fields: 32 - name: payment-orders-post-response fields: 13 - name: rate-get-response fields: 1 - name: unauthorized-error fields: 2 - name: validate-payment-order-response fields: 17 relationships: - from: PaymentOrdersPost to: AccountIdentification type: has_one via: originatorAccount - from: PaymentOrdersPost to: Schedule type: has_one via: schedule - from: PaymentOrdersPost to: InitiateTransaction type: has_one via: transferTransactionInformation - from: PaymentOrdersPostResponse to: ExchangeRateInformation type: has_one via: exchangeRateInformation - from: PaymentOrdersValidatePost to: AccountIdentification type: has_one via: originatorAccount - from: PaymentOrdersValidatePost to: Schedule type: has_one via: schedule - from: PaymentOrdersValidatePost to: InitiateTransaction type: has_one via: transferTransactionInformation - from: PaymentOrdersValidatePostResponse to: OriginatorAccount type: has_one via: originatorAccount - from: PaymentOrdersValidatePostResponse to: Schedule type: has_one via: schedule - from: PaymentOrdersValidatePostResponse to: IdentifiedTransaction type: has_one via: transferTransactionInformation - from: PaymentOrdersValidatePostResponse to: InvolvedParty type: has_one via: originator - from: PaymentOrderGetResponse to: PresentationApprovalDetailDto type: has_one via: approvalDetails - from: PaymentOrderGetResponse to: ContextualInformation type: has_one via: contextualInformation - from: PaymentOrderGetResponse to: InvolvedParty type: has_one via: originator - from: PaymentOrderGetResponse to: OriginatorAccount type: has_one via: originatorAccount - from: PaymentOrderGetResponse to: Schedule type: has_one via: schedule - from: PaymentOrderGetResponse to: IdentifiedTransaction type: has_one via: transferTransactionInformation - from: BadRequestError to: error-item type: has_many via: errors - from: UnauthorizedError to: error-item type: has_many via: errors - from: forbidden-error to: error-item type: has_many via: errors - from: BreachReportError to: IdentifiedPaymentOrder type: has_one via: payment - from: BreachReportError to: BreachReportItem type: has_many via: breachReport - from: IdentifiedPaymentOrder to: ContextualInformation type: has_one via: contextualInformation - from: IdentifiedPaymentOrder to: InvolvedParty type: has_one via: originator - from: IdentifiedPaymentOrder to: OriginatorAccount type: has_one via: originatorAccount - from: IdentifiedPaymentOrder to: Schedule type: has_one via: schedule - from: IdentifiedPaymentOrder to: IdentifiedTransaction type: has_one via: transferTransactionInformation - from: InvolvedParty to: PostalAddress type: has_one via: postalAddress - from: IdentifiedTransaction to: InvolvedParty type: has_one via: counterparty - from: IdentifiedTransaction to: CounterpartyAccount type: has_one via: counterpartyAccount - from: IdentifiedTransaction to: Bank type: has_one via: counterpartyBank - from: IdentifiedTransaction to: Bank type: has_one via: correspondentBank - from: IdentifiedTransaction to: Bank type: has_one via: intermediaryBank - from: IdentifiedTransaction to: RemittanceInformation type: has_one via: remittanceInformation - from: IdentifiedTransaction to: ExchangeRateInformation type: has_one via: exchangeRateInformation - from: CounterpartyAccount to: Identification type: has_one via: identification - from: Bank to: PostalAddress type: has_one via: postalAddress - from: BreachReportItem to: EntityDescription type: has_many via: limitedEntity - from: BreachReportItem to: BreachInfo type: has_many via: breachInfo - from: BreachInfo to: TimeFrame type: has_one via: timeframe - from: bad-request-error to: error-item type: has_many via: errors - from: not-found-error to: error-item type: has_many via: errors - from: unauthorized-error to: error-item type: has_many via: errors - from: InitiatePaymentOrder to: AccountIdentification type: has_one via: originatorAccount - from: InitiatePaymentOrder to: Schedule type: has_one via: schedule - from: InitiatePaymentOrder to: InitiateTransaction type: has_one via: transferTransactionInformation - from: InitiateTransaction to: InvolvedParty type: has_one via: counterparty - from: InitiateTransaction to: InitiateCounterpartyAccount type: has_one via: counterpartyAccount - from: InitiateTransaction to: Bank type: has_one via: counterpartyBank - from: InitiateTransaction to: Bank type: has_one via: correspondentBank - from: InitiateTransaction to: Bank type: has_one via: intermediaryBank - from: InitiateCounterpartyAccount to: SelectedContactDto type: has_one via: selectedContact - from: payment-orders-post-response to: ExchangeRateInformation type: has_one via: exchangeRateInformation - from: validate-payment-order-response to: OriginatorAccount type: has_one via: originatorAccount - from: validate-payment-order-response to: Schedule type: has_one via: schedule - from: validate-payment-order-response to: IdentifiedTransaction type: has_one via: transferTransactionInformation - from: validate-payment-order-response to: InvolvedParty type: has_one via: originator - from: payment-order-get-response to: PresentationApprovalDetailDto type: has_one via: approvalDetails - from: payment-order-get-response to: ContextualInformation type: has_one via: contextualInformation - from: payment-order-get-response to: InvolvedParty type: has_one via: originator - from: payment-order-get-response to: OriginatorAccount type: has_one via: originatorAccount - from: payment-order-get-response to: Schedule type: has_one via: schedule - from: payment-order-get-response to: IdentifiedTransaction type: has_one via: transferTransactionInformation - from: OriginatorAccount to: Identification type: has_one via: identification - from: AccountIdentification to: Identification type: has_one via: identification - from: PresentationApprovalDetailDto to: PresentationApprovalTypeDto type: has_many via: approvalTypes - from: PresentationApprovalDetailDto to: PresentationPolicyDto type: has_one via: policy - from: PresentationApprovalDetailDto to: PresentationRecordDto type: has_many via: records - from: PresentationPolicyDto to: PresentationPolicyItemDto type: has_many via: items - from: PresentationPolicyDto to: LogicalPolicyDetailsDto type: has_many via: logicalItems - from: LogicalPolicyDetailsDto to: PolicyItemDetailsDto type: has_many via: items - from: PolicyItemDetailsDto to: ApprovalTypeDto type: has_one via: approvalType