generated: '2026-09-21' method: derived generator: derive-data-model.py source: - openapi/enfuce-authorisation-request-api-api-openapi.yml - openapi/enfuce-create-card-api-openapi.yml - openapi/enfuce-create-pin-control-access-token-api-openapi.yml - openapi/enfuce-get-card-api-openapi.yml - openapi/enfuce-get-card-payment-info-api-openapi.yml - openapi/enfuce-get-plastic-manufacturing-history-api-openapi.yml - openapi/enfuce-update-card-api-openapi.yml notation: has_one = property $ref; has_many = array of $ref; belongs_to = _id field summary: entities: 35 entities_in_spec: 35 relationships: 37 entities: - name: AdditionalValues fields: 0 description: You can include up to **30 additional key-value pairs** in the embossing file sent to the card manufacturer. - name: Address fields: 8 - name: CardDataControlTokenResponseBody fields: 3 - name: CardResponse fields: 23 - name: CardVersion fields: 7 - name: ControlTokenRequestBody fields: 1 - name: CreateCardBody fields: 11 - name: CreateMultiApplicationCardBody fields: 2 - name: CreateMultiApplicationCardResponse fields: 0 - name: CreatePlasticBody fields: 7 - name: EncryptCardPaymentInfoRequestBody fields: 4 - name: EncryptCardPaymentInfoResponseBody fields: 3 - name: ErrorResponse fields: 7 - name: MultiApplicationProperties fields: 6 - name: PinControlInfoRequestBody fields: 2 - name: PinControlInfoResponseBody fields: 3 - name: Plastic fields: 9 - name: PlasticManufacturingHistoryResponse fields: 1 - name: ReissueCardBody fields: 1 - name: ReplaceCardBody fields: 2 - name: ResourceResponse fields: 2 - name: UpdateCardBody fields: 15 - name: UpdatePlasticBody fields: 7 - name: account fields: 1 - name: approvedTransaction fields: 0 - name: authRequestBody fields: 0 - name: authResponseBody fields: 3 - name: authorizationMetadata fields: 4 - name: card fields: 7 description: Information about the card used for the payment. - name: expiration fields: 2 - name: merchant fields: 13 - name: money fields: 2 description: Amount including currency. - name: token fields: 2 description: Information about the token associated with the card. - name: transaction fields: 16 - name: transactionFee fields: 2 relationships: - from: approvedTransaction to: money type: has_one via: approvedAmount - from: transaction to: money type: has_one via: billingAmount - from: transaction to: money type: has_one via: transactionAmount - from: transaction to: money type: has_one via: cashbackAmount - from: transaction to: money type: has_one via: settlementAmount - from: transaction to: money type: has_one via: acquirerTransactionFeeAmount - from: transaction to: transactionFee type: has_many via: issuerTransactionFees - from: authResponseBody to: account type: has_one via: account - from: authResponseBody to: money type: has_one via: partialApprovalAmount - from: account to: money type: has_one via: availableAmount - from: card to: expiration type: has_one via: expirationDate - from: card to: account type: belongs_to via: accountId - from: authRequestBody to: token type: has_one via: token - from: authRequestBody to: card type: has_one via: card - from: authRequestBody to: merchant type: has_one via: merchant - from: authRequestBody to: approvedTransaction type: has_one via: transaction - from: transactionFee to: money type: has_one via: amount - from: authorizationMetadata to: transaction type: belongs_to via: transactionId - from: CreateCardBody to: account type: belongs_to via: accountId - from: CreateCardBody to: CreatePlasticBody type: has_one via: plastic - from: CreateCardBody to: AdditionalValues type: has_one via: additionalValues - from: CreateMultiApplicationCardResponse to: CardResponse type: has_many via: cardApplications - from: CreateMultiApplicationCardBody to: CreateCardBody type: has_one via: mainCard - from: Plastic to: Address type: has_one via: preferredCardAddress - from: Plastic to: Address type: has_one via: preferredPinAddress - from: CardResponse to: account type: belongs_to via: accountId - from: CardResponse to: Plastic type: has_one via: plastic - from: CardResponse to: CardVersion type: has_many via: cardVersions - from: CardResponse to: MultiApplicationProperties type: has_one via: multiApplicationProperties - from: CardResponse to: AdditionalValues type: has_one via: additionalValues - from: CreatePlasticBody to: Address type: has_one via: preferredCardAddress - from: CreatePlasticBody to: Address type: has_one via: preferredPinAddress - from: UpdatePlasticBody to: Address type: has_one via: preferredCardAddress - from: UpdatePlasticBody to: Address type: has_one via: preferredPinAddress - from: UpdateCardBody to: account type: belongs_to via: accountId - from: UpdateCardBody to: UpdatePlasticBody type: has_one via: plastic - from: UpdateCardBody to: AdditionalValues type: has_one via: additionalValues