---
title: "PUT /v1/subscription/{handle}"
method: PUT
path: "/v1/subscription/{handle}"
tags: ["subscription"]
---

# PUT /v1/subscription/{handle}

`PUT /v1/subscription/{handle}`

## Request

- Base URL: `https://customer-portal-api.frisbii.com`
- URL: `https://customer-portal-api.frisbii.com/v1/subscription/{handle}`
- Auth: none declared

Update subscription

## Path parameters

- `handle` string, required

## Query parameters

- `language` string: Supported language for translation in lower case

## Request body

- UpdateSubscription
  - `add_ons` CreateSubscriptionAddOn[]: Add-ons to attach to subscription
    - `handle` string, required: Optional per subscription unique handle for the subscription add-on. If not defined the handle will default to the add-on handle, this means that by default an add-on can only be attached once to each subscription. The handle can be used to link the subscription add-on to an entity like computer serial number or vehicle license plate.
    - `quantity` integer: Optional quantity of the of the add-on for this subscription. Defaults to 1. May only be provided for add-on with type `quantity`.
    - `amount` integer: Optional custom fixed per quantity add-on price. If provided the add-on price billed for each billing period will be overridden by this price. Implicitly defines `fixed_amount` as true. Cannot be provided with `fixed_amount` false.
    - `name` string: Optional name overriding the add-on name. If not defined the add-on name will be used as order line text.
    - `description` string: Optional description overriding the add-on description. If not defined the add-on description will be used.
    - `add_on` string, required: Add-on for subscription add-on
    - `fixed_amount` boolean: Whether the price of the subscription add-on should be fixed to the current price of add-on, or the price should follow the add-on price. Defaults to true. If set to false the price of the add-on will be determined by the add-on price at the time of subscription billing.
    - `amount_incl_vat` boolean: Whether the optional amount is including VAT. Defaults to true.
    - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
    - `pricing_strategy` 'fixed' | 'flexible' | 'custom': Pricing strategy for the subscription add-on's price. `fixed` snapshots the add-on's pricing at attach time, and it never changes afterwards. `flexible` follows the add-on's live pricing, and `amount` and `pricing` are rejected. `custom` overrides the price with `amount` or `pricing`, one of which is required; both are only accepted when `amount` equals the single per-unit price of the `pricing` curve, otherwise the request is rejected with 422. When omitted, the strategy is `custom` if `amount` or `pricing` is given, otherwise `flexible` if the deprecated `fixed_amount` is false, otherwise `fixed`.
    - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
      - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
      - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
      - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
      - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
      - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
        - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
        - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
        - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
  - `remove_add_ons` string[]: Subscription add-on handles to remove from subscription

## Response `200`

Successful operation

- SubscriptionDetails
  - `handle` string: Per account unique handle for subscription
  - `customer` string: Customer handle
  - `plan` Plan: Expanded target plan details (only when type is 'plan' and expand parameter includes 'plans')
    - `name` string, required: Name of the plan
    - `description` string: Description of the plan
    - `vat` number, float: Optional vat for this plan. Account default is used if none given.
    - `amount` integer, required: Amount for the plan in the smallest unit for the account currency
    - `quantity` integer: Optional default quantity of the subscription plan product for new subscriptions. Default is 1.
    - `prepaid` boolean: Subscriptions can either be prepaid where an amount is paid in advance, or the opposite. This setting only relates to handling of pause scenarios.
    - `handle` string, required: Per account unique handle for the subscription plan. Max length 255 with allowable characters [a-zA-Z0-9_.-@].
    - `version` integer, required: Plan version
    - `state` 'active' | 'superseded' | 'deleted', required: State of the subscription plan one of the following: `active`, `superseded`, `deleted`
    - `currency` string, required: Currency for the subscription plan in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
    - `created` string, date-time, required: Date when the subscription plan was created. In ISO-8601 extended offset date-time format.
    - `deleted` string, date-time: Date when the subscription plan was deleted. In ISO-8601 extended offset date-time format.
    - `dunning_plan` string: Dunning plan by handle to use for the subscription plan. Default dunning plan will be used if none given.
    - `tax_policy` string: Optional tax policy handle for this plan. If vat and tax policy is given, vat will be ignored.
    - `renewal_reminder_email_days` integer: Optional renewal reminder email settings. Number of days before next billing to send a reminder email.
    - `trial_reminder_email_days` integer: Optional end of trial reminder email settings. Number of days before end of trial to send a reminder email.
    - `partial_period_handling` 'bill_full' | 'bill_prorated' | 'bill_zero_amount' | 'no_bill': How to handle a potential initial partial billing period for fixed day scheduling. The options are to bill for a full period, bill prorated for the partial period, bill a zero amoumt, or not to consider the period before first fixed day a billing period. The default is to bill prorated. Options: `bill_full`, `bill_prorated`, `bill_zero_amount`, `no_bill`.
    - `include_zero_amount` boolean: Whether to add a zero amount order line to subscription invoices if plan amount is zero or the subscription overrides to zero amount. The default is to not include the line. If no other order lines are present the plan order line will be added.
    - `setup_fee` integer: Optional one-time setup fee billed with the first invoice or as a separate invoice depending on the setting `setup_fee_handling`.
    - `setup_fee_text` string: Optional invoice order text for the setup fee that
    - `setup_fee_handling` string: How the billing of the setup fee should be done. The options are: `first` - include setup fee as order line on the first scheduled invoice. `separate` - create a separate invoice for the setup fee, is appropriate if first invoice is not in conjunction with creation. `separate_conditional` - create a separate invoice for setup fee if the first invoice is not created in conjunction with the creation. Default is `first`.
    - `setup_fee_vat` number, float: Optional VAT for setup fee. Only returns the explicitly configured VAT rate, not the resolved rate from tax policy. Use effective_setup_fee_vat to see what will be used.
    - `setup_fee_tax_policy` string: Optional tax policy handle for setup fee. If both setup_fee_vat and setup_fee_tax_policy are configured, tax policy takes precedence.
    - `setup_fee_amount_incl_vat` boolean: Whether setup fee amount is including VAT. Only returns the explicitly configured value. Use effective_setup_fee_amount_incl_vat to see what will be used.
    - `partial_proration_days` boolean: For fixed day scheduling and prorated partial handling calculate prorated amount using whole days counting start day as a full day, or use by the minute proration calculation from start date time to the next period start. Default is true (whole days).
    - `fixed_trial_days` boolean: When using trial for fixed day scheduling use this setting to control if trial expires at midnight or the trial period is down to the minute. Default is true (trial until start of day). Trial in days can only be true if `partial_proration_days` is also set to true.
    - `minimum_prorated_amount` integer: When using prorated partial handling the prorated amount for plan and add-ons might result in very small amounts. A minimum prorated amount for plan and add-ons can be defined. If the prorated amount is below this minimum the amount will be changed to zero.
    - `account_funding` boolean: Indicates that Account Funding Transaction (AFT) is requested.
    - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
    - `amount_incl_vat` boolean: Whether the amount is including VAT. Default true.
    - `fixed_count` integer: Fixed number of renewals for subscriptions using this plan. Equals the number of scheduled invoices. Default is no fixed amount of renewals.
    - `fixed_life_time_unit` 'months' | 'days': Time unit use for fixed life time
    - `fixed_life_time_length` integer: Optional fixed life time length for subscriptions using this plan. E.g. 12 months. Subscriptions will cancel after the fixed life time and expire when the active billing cycle ends.
    - `trial_interval_unit` 'months' | 'days': Time unit for free trial period
    - `trial_interval_length` integer: Optional free trial interval length. E.g. 1 monts.
    - `interval_length` integer: The length of intervals. E.g. every second month or every 14 days.
    - `schedule_type` 'manual' | 'daily' | 'weekly_fixedday' | 'month_startdate' | 'month_fixedday' | 'month_lastday', required: Scheduling type, one of the following: `manual`, `daily`, `weekly_fixedday`, `month_startdate`, `month_fixedday`, `month_lastday`. See documentation for descriptions of the different types.
    - `schedule_fixed_day` integer: If a fixed day scheduling type is used a fixed day must be provided. For months the allowed value is 1-28 for weeks it is 1-7
    - `schedule_fixed_hour` integer: Fixed hour (0-23) for monthly and weekly fixed day schedules. If not null, subscription will be scheduled at this hour.
    - `base_month` integer: For fixed month schedule types the base month can be used to control which months are eligible for start of first billing period. The eligible months are calculated as `base_month + k * interval_length` up to 12. E.g. to use quaterly billing in the months jan-apr-jul-oct, `base_month` 1 and `interval_length` 3 can be used. If not defined the first fixed day will be used as start of first billing period.
    - `notice_periods` integer: Optional number of notice periods for a cancel. The subscription will be cancelled for this number of full periods before expiring. Either from the cancellation date, or from the end of the the current period. See `notice_periods_after_current`. The default is to expire at the end of current period (0). A value of 1 (and `notice_periods_after_current` set to true) will for example result in a scenario where the subscription is cancelled until the end of current period, and then for the full subsequent period before expiring.
    - `notice_periods_after_current` boolean: If notice periods is set, this option controls whether the number of full notice periods should start at the end of the current period, or run from cancellation date and result in a partial period with partial amount for the last period. The default is true. E.g. if set to false and `notice_periods = 1` then the subscription will be cancelled for exactly for one period from the cancellation time and a partial amount will be billed at the start of the next billing period.
    - `fixation_periods` integer: Optional number of fixation periods. Fixation periods will guarantee that a subscription will have this number of paid full periods before expiring after a cancel. Default is to have no requirement (0).
    - `fixation_periods_full` boolean: If fixation periods are defined, and the subscription can have a partial prorated first period, this parameter controls if the the last period should be full, or partial to give exactly `fixation_periods` paid periods. Default is false.
    - `entitlements` string[]: List of entitlement handles to be added to the plan
    - `fixation_period_unit_type` 'day' | 'week' | 'month' | 'year': Time unit use in conjunction with fixation periods. If not fulfilled, it falls back to fixed_life_time_unit
    - `notice_period_unit_type` 'day' | 'week' | 'month' | 'year': Time unit used in conjunction with notice periods. If not fulfilled, it falls back to plan schedule_type
    - `contract_period` integer: Optional contract period length. E.g. 12 months.
    - `contract_period_unit_type` 'day' | 'week' | 'month' | 'year': Time unit used for the contract period
    - `contract_period_after_renewal_period` integer: Optional contract period length after renewal. E.g. 6 months.
    - `contract_period_after_renewal_unit_type` 'day' | 'week' | 'month' | 'year': Time unit used for the contract period after renewal
    - `subscription_duration_type` 'auto_renew' | 'fixed_number_of_billing_cycles' | 'end_on_contract_end': Subscription duration type
    - `effective_setup_fee_vat` number, float: Read-only. The effective VAT rate that will be used for setup fee after applying fallback logic. Returns the country-specific rate from setup_fee_tax_policy if set, otherwise returns setup_fee_vat if set, otherwise falls back to plan vat.
    - `effective_setup_fee_amount_incl_vat` boolean: Read-only. Whether the setup fee amount is including VAT after applying fallback logic. Returns setup_fee_amount_incl_vat if set, otherwise falls back to plan amount_incl_vat.
  - `plan_version` integer: Subscription plan version
  - `state` string: State of the subscription, one of the following: `active`, `expired`, `on_hold` or `pending`. Active subscriptions can be cancelled and will expire at the end of the current billing period, or later depending on optional notice and fixation periods, this can be checked using the `is_cancelled` parameter and `expires`.
  - `test` boolean: Test flag
  - `amount` integer: Optional custom plan price. If defined the plan price billed for each billing period will be overridden by this price.
  - `amount_incl_vat` boolean: If optional custom plan price this parameter tells whether the amount is including VAT
  - `quantity` integer: Quantity of the plan product for this subscription.
  - `start_date` string, date-time: Date and time from which the subscription is eligible to schedule invoices. Either from create or from the latest reactivate or subscription change. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `end_date` string, date-time: Fixed end date and time. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `grace_duration` integer: Grace duration in seconds from the creation of a subscription where no dunning process is started for a failing invoice. This allows a certain amount of time for the customer to sign up with a payment method.
  - `current_period_start` string, date-time: Start date and time for the current billing period. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `next_period_start` string, date-time: Start date and time for the next billing period, and also end date and time for the current billing period. Is also the date and time for next invoice if the subscription is renewing. In ISO-8601 extended offset date-time format.
  - `first_period_start` string, date-time: Start date and time for the first ever billing period. In ISO-8601 extended offset date-time format.
  - `last_period_start` string, date-time: Start date and time for the previous billing period. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `trial_start` string, date-time: Start date and time of free trial period. In ISO-8601 extended offset date-time format.
  - `trial_end` string, date-time: End date and time of free trial period. In ISO-8601 extended offset date-time format.
  - `is_cancelled` boolean: Whether the subscription has been cancelled. Cancelled subscriptions will expire at the end of the current billing period.
  - `is_withdrawal_eligible` boolean: Whether the customer can currently withdraw from the subscription under the EU statutory right of withdrawal. True when the customer has no VAT ID, the customer's country is an EU member state or not set, and no more than 14 days have passed since the subscription was activated (or started). The subscription state is not taken into account.
  - `in_trial` boolean: Whether the subscription is in its trial period, or if the subscription will start a trial period at a start date in the future. See `has_started` to determine if the actual trial period has started or not.
  - `has_started` boolean: If subscription has a later start date, this parameter tells if the subscription has started. Use this in connection with state to determine if a subscription is active.
  - `renewal_count` integer: Number of renewals for the subscription (number of invoices)
  - `cancelled_date` string, date-time: Date when the subscription was cancelled. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `expires` string, date-time: Fixed date when the subscription will expire because of cancellation. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `expired_date` string, date-time: Date when the subscription expired. [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `expire_reason` string: Reason for expire. Can be `ondemand`, `cancelled`, `dunning` or `fixed`
  - `on_hold_date` string, date-time: Date when the subscription was put on hold. [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `reactivated` string, date-time: Date when the subscription was reactivated from on hold. [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `on_hold_reason` string: Reason for on hold. Can be `ondemand` or `dunning`
  - `timezone` string: Time zone for the subscription as standard time zone id. See [Wikipedia](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
  - `payment_method_added` boolean: Whether the customer at some point has added payment information to the subscription
  - `payment_method` PaymentMethodV2: Subscription payment method
    - `id` string, required: Unique id for payment method
    - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
    - `customer` string, required: Customer by handle
    - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
    - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
    - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
    - `card` CardV2: Card object in case of Google Pay payment method
      - `gateway` string, required: Card gateway tied to card
      - `fingerprint` string: Uniquely identifies this particular card number
      - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
      - `gw_ref` string, required: Card gateway reference id
      - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
      - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
      - `card_agreement` string, required: Card agreement id
      - `exp_date` string: Card expire date on form MM-YY
      - `masked_card` string: Masked card number
      - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
      - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
      - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
      - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
      - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
      - `declined_count` integer: Number of soft and hard declined attempts for the card since created or since last successful transaction
      - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
      - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
      - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
      - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
      - `token_state` 'active' | 'suspended' | 'deleted': State of tokenization for card `active`, `suspended` or `deleted`
      - `cardholder_name` string: Cardholder name if provided when entering credit card details
      - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed when the card was added. Only relevant if cardholder name was provided at card creation.
      - `googlepay_pan_type` 'pan' | 'token' | 'emv_token': Google Pay PAN type: `pan`, `token` or `emv_token`. Only present for Google Pay payment methods.
    - `applepay` CardV2: Card object in case of Google Pay payment method
      - `gateway` string, required: Card gateway tied to card
      - `fingerprint` string: Uniquely identifies this particular card number
      - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
      - `gw_ref` string, required: Card gateway reference id
      - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
      - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
      - `card_agreement` string, required: Card agreement id
      - `exp_date` string: Card expire date on form MM-YY
      - `masked_card` string: Masked card number
      - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
      - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
      - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
      - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
      - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
      - `declined_count` integer: Number of soft and hard declined attempts for the card since created or since last successful transaction
      - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
      - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
      - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
      - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
      - `token_state` 'active' | 'suspended' | 'deleted': State of tokenization for card `active`, `suspended` or `deleted`
      - `cardholder_name` string: Cardholder name if provided when entering credit card details
      - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed when the card was added. Only relevant if cardholder name was provided at card creation.
      - `googlepay_pan_type` 'pan' | 'token' | 'emv_token': Google Pay PAN type: `pan`, `token` or `emv_token`. Only present for Google Pay payment methods.
    - `googlepay` CardV2: Card object in case of Google Pay payment method
      - `gateway` string, required: Card gateway tied to card
      - `fingerprint` string: Uniquely identifies this particular card number
      - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
      - `gw_ref` string, required: Card gateway reference id
      - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
      - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
      - `card_agreement` string, required: Card agreement id
      - `exp_date` string: Card expire date on form MM-YY
      - `masked_card` string: Masked card number
      - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
      - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
      - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
      - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
      - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
      - `declined_count` integer: Number of soft and hard declined attempts for the card since created or since last successful transaction
      - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
      - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
      - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
      - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
      - `token_state` 'active' | 'suspended' | 'deleted': State of tokenization for card `active`, `suspended` or `deleted`
      - `cardholder_name` string: Cardholder name if provided when entering credit card details
      - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed when the card was added. Only relevant if cardholder name was provided at card creation.
      - `googlepay_pan_type` 'pan' | 'token' | 'emv_token': Google Pay PAN type: `pan`, `token` or `emv_token`. Only present for Google Pay payment methods.
    - `payment_type` 'card' | 'emv_token' | 'vipps_recurring' | 'applepay' | 'googlepay' | 'mobilepay_subscriptions' | 'sepa' | 'sepa_ebics' | 'stripe_sepa' | 'offline_cash' | 'offline_bank_transfer' | 'offline_other', required: Payment type for saved payment method, either: `card`, `emv_token`, `vipps_recurring`, `applepay`, `googlepay`, `mobilepay_subscriptions`, `sepa`, `sepa_ebics`, `stripe_sepa`, `offline_cash`, `offline_bank_transfer` or `offline_other`
    - `mps_subscription` MpsSubscriptionV2: MPS subscription object in case of MPS payment method
      - `external_id` string: Optional external id at MobilePay defined when creating the subscription
    - `vipps_recurring_mandate` VippsRecurringMandate: Vipps Recurring mandate
    - `sepa_mandate` SepaMandate: SEPA Mandate
      - `iban` string: Mandate IBAN
      - `sepa_mandate_bank_reference` string, required: Bank reference
    - `twint_mandate` TwintMandate: Twint mandate object in case of Twint payment method
    - `offline_mandate` OfflineMandate: Offline mandate object in case of Offline payment method
      - `offline_agreement_handle` string, required: Offline agreement handle
      - `offline_agreement_name` string: Optional offline agreement name
    - `paypal_mandate` PaypalMandate: PayPal mandate used to initiate transaction when transaction is recurring
      - `email` string: Payer email
      - `first_name` string: Payer first name
      - `last_name` string: Payer last name
      - `payer_id` string: PayPal payer id
      - `phone_number` string: Payer phone number
    - `sepa_ebics_mandate` SepaEbicsMandate: SEPA EBICS mandate object in case of SEPA EBICS payment method
      - `iban` string, required: Mandate IBAN
      - `sepa_mandate_bank_reference` string, required: Bank reference
    - `stripe_mandate` StripeMandate: Stripe mandate object in case of Stripe payment method
      - `bic` string: Bank BIC/SWIFT code
      - `sepa_last4` string: Last 4 digits of SEPA IBAN
    - `klarna_mandate` KlarnaMandate: Klarna mandate used to initiate transaction when transaction is recurring
  - `created` string, date-time: Date when the subscription was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `activated` string, date-time: Date when the subscription was activated. Will only differ from created in a two step prepared -> activated subscription create scenario. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `reminder_email_sent` string, date-time: If defined the date a reminder email was sent for the current billing period. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
  - `renewing` boolean: If the subscription renews at current period end. Also true for subscriptions with manual scheduling.
  - `failed_invoices` integer: Number of failed invoices for this subscription
  - `failed_amount` integer: Summed amount for failed invoices
  - `cancelled_invoices` integer: Number of cancelled invoices for this subscription
  - `cancelled_amount` integer: Summed amount for cancelled invoices
  - `pending_invoices` integer: Number of pending invoices for this subscription
  - `pending_amount` integer: Summed amount for pending invoices
  - `dunning_invoices` integer: Number of dunning invoices for this subscription
  - `dunning_amount` integer: Summed amount for dunning invoices
  - `settled_invoices` integer: Number of settled invoices for this subscription
  - `invoices` CustomerInvoiceList: List of invoices for subscription. Limited to 20 items.
    - `size` integer, required: Page size used in paginated list
    - `count` integer, required: Number of elements in current page. If less than page size it is the last page.
    - `to` string, required: Local date and time range used as to (exclusive)
    - `from` string, required: Local date and time range used as from (inclusive)
    - `content` CustomerInvoice[]: List of customer invoices
      - `id` string: Autogenerated Id
      - `handle` string: Per account unique handle. Provided at on-demand invoice/charge creation or set to `inv-<invoice_number>` for automatically created subscription invoices
      - `state` 'created' | 'pending' | 'dunning' | 'settled' | 'authorized' | 'cancelled' | 'failed': The invoice state one of the following: `created`, `pending`, `dunning`, `settled`, `cancelled`, `authorized`, `failed`
      - `amount` integer: The invoice amount including VAT
      - `currency` string: Currency for the account in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
      - `created` string, date-time: When the invoice was created, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `type` 's' | 'so' | 'soi' | 'co' | 'ch': The type of invoice: `s` - subscription recurring, `so` - subscription one-time, `soi` - subscription one-time instant, `co` - customer one-time, `ch` - charge
      - `transactions` InvoiceTransactionDetails[], required: Invoice transactions
        - `id` string: Autogenerated Transaction Id
        - `state` 'pending' | 'processing' | 'authorized' | 'settled' | 'refunded' | 'failed' | 'cancelled', required: State of the transaction, one of the following: `pending`, `processing`, `authorized`, `settled`, `refunded`, `failed`, `cancelled`
        - `invoice` string, required: Invoice handle
        - `type` 'settle' | 'refund' | 'authorization', required: Transaction type, one of the following: `settle`, `refund`, `authorization`
        - `amount` integer, required: The transaction amount
        - `currency` string: Currency in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
        - `settled` string, date-time: When the transaction was settled, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `authorized` string, date-time: When the transaction was authorized, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `failed` string, date-time: When the transaction failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `refunded` string, date-time: When the transaction was refunded, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `created` string, date-time, required: Date when the transaction was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `payment_type` 'card' | 'mpo' | 'mobilepay' | 'vipps' | 'vipps_recurring' | 'swish' | 'viabill' | 'anyday' | 'manual' | 'applepay' | 'googlepay' | 'paypal' | 'klarna_pay_now' | 'klarna_pay_later' | 'klarna_slice_it' | 'klarna_direct_bank_transfer' | 'klarna_direct_debit' | 'resurs' | 'santander' | 'mobilepay_subscriptions' | 'emv_token' | 'bcmc' | 'blik' | 'pp_blik_oc' | 'giropay' | 'ideal' | 'p24' | 'sepa' | 'trustly' | 'verkkopankki': Payment type for transaction, either: `card`, `mpo`, `mobilepay`, `vipps`, `vipps_recurring`, `swish`, `viabill`, `anyday`, `manual`, `applepay`, `googlepay`, `paypal`, `klarna_pay_now`, `klarna_pay_later`, `klarna_slice_it`, `klarna_direct_bank_transfer`, `klarna_direct_debit`, `resurs`, `santander`, `mobilepay_subscriptions`, `emv_token`, `bcmc`, `blik`, `pp_blik_oc`, `giropay`, `ideal`, `p24`, `sepa`, `trustly`, or `verkkopankki`
        - `payment_method` string: Reference to payment method in case of a MIT transaction
        - `card_transaction` CardTransaction: Specifics in case of GooglePay transaction
          - `card` Card: Saved card used for transaction. Only present if a saved card was used.
            - `id` string, required: Unique id for payment method
            - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
            - `customer` string, required: Customer by handle
            - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
            - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
            - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
            - `fingerprint` string: Uniquely identifies this particular card number
            - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
            - `gw_ref` string, required: Card gateway reference id
            - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `exp_date` string: Card expire date on form MM-YY
            - `masked_card` string: Masked card number
            - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
            - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
            - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
            - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
            - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
            - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
            - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
            - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
            - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `fingerprint` string: Uniquely identifies this particular card number
          - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
          - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
          - `ref_transaction` string: Id of a possible referenced transaction
          - `gw_id` string: Gateway id for card
          - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
          - `acquirer_code` string: Acquirer error code in case of error
          - `acquirer_message` string: Acquirer message in case of error
          - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
          - `text_on_statement` string: Resulting text on bank statement if known
          - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
          - `cardholder_name` string: Cardholder name if provided when entering credit card details
          - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
        - `mpo_transaction` CardTransaction: Specifics in case of GooglePay transaction
          - `card` Card: Saved card used for transaction. Only present if a saved card was used.
            - `id` string, required: Unique id for payment method
            - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
            - `customer` string, required: Customer by handle
            - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
            - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
            - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
            - `fingerprint` string: Uniquely identifies this particular card number
            - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
            - `gw_ref` string, required: Card gateway reference id
            - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `exp_date` string: Card expire date on form MM-YY
            - `masked_card` string: Masked card number
            - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
            - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
            - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
            - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
            - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
            - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
            - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
            - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
            - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `fingerprint` string: Uniquely identifies this particular card number
          - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
          - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
          - `ref_transaction` string: Id of a possible referenced transaction
          - `gw_id` string: Gateway id for card
          - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
          - `acquirer_code` string: Acquirer error code in case of error
          - `acquirer_message` string: Acquirer message in case of error
          - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
          - `text_on_statement` string: Resulting text on bank statement if known
          - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
          - `cardholder_name` string: Cardholder name if provided when entering credit card details
          - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
        - `vipps_transaction` CardTransaction: Specifics in case of GooglePay transaction
          - `card` Card: Saved card used for transaction. Only present if a saved card was used.
            - `id` string, required: Unique id for payment method
            - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
            - `customer` string, required: Customer by handle
            - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
            - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
            - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
            - `fingerprint` string: Uniquely identifies this particular card number
            - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
            - `gw_ref` string, required: Card gateway reference id
            - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `exp_date` string: Card expire date on form MM-YY
            - `masked_card` string: Masked card number
            - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
            - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
            - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
            - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
            - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
            - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
            - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
            - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
            - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `fingerprint` string: Uniquely identifies this particular card number
          - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
          - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
          - `ref_transaction` string: Id of a possible referenced transaction
          - `gw_id` string: Gateway id for card
          - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
          - `acquirer_code` string: Acquirer error code in case of error
          - `acquirer_message` string: Acquirer message in case of error
          - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
          - `text_on_statement` string: Resulting text on bank statement if known
          - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
          - `cardholder_name` string: Cardholder name if provided when entering credit card details
          - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
        - `applepay_transaction` CardTransaction: Specifics in case of GooglePay transaction
          - `card` Card: Saved card used for transaction. Only present if a saved card was used.
            - `id` string, required: Unique id for payment method
            - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
            - `customer` string, required: Customer by handle
            - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
            - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
            - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
            - `fingerprint` string: Uniquely identifies this particular card number
            - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
            - `gw_ref` string, required: Card gateway reference id
            - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `exp_date` string: Card expire date on form MM-YY
            - `masked_card` string: Masked card number
            - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
            - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
            - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
            - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
            - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
            - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
            - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
            - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
            - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `fingerprint` string: Uniquely identifies this particular card number
          - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
          - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
          - `ref_transaction` string: Id of a possible referenced transaction
          - `gw_id` string: Gateway id for card
          - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
          - `acquirer_code` string: Acquirer error code in case of error
          - `acquirer_message` string: Acquirer message in case of error
          - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
          - `text_on_statement` string: Resulting text on bank statement if known
          - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
          - `cardholder_name` string: Cardholder name if provided when entering credit card details
          - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
        - `googlepay_transaction` CardTransaction: Specifics in case of GooglePay transaction
          - `card` Card: Saved card used for transaction. Only present if a saved card was used.
            - `id` string, required: Unique id for payment method
            - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
            - `customer` string, required: Customer by handle
            - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
            - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
            - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
            - `fingerprint` string: Uniquely identifies this particular card number
            - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
            - `gw_ref` string, required: Card gateway reference id
            - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
            - `exp_date` string: Card expire date on form MM-YY
            - `masked_card` string: Masked card number
            - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
            - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
            - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
            - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
            - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
            - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
            - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
            - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
            - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `fingerprint` string: Uniquely identifies this particular card number
          - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
          - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
          - `ref_transaction` string: Id of a possible referenced transaction
          - `gw_id` string: Gateway id for card
          - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
          - `acquirer_code` string: Acquirer error code in case of error
          - `acquirer_message` string: Acquirer message in case of error
          - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
          - `text_on_statement` string: Resulting text on bank statement if known
          - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
          - `cardholder_name` string: Cardholder name if provided when entering credit card details
          - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
        - `manual_transaction` ManualTransaction: Specifics in case of manual transaction
          - `method` 'cash' | 'bank_transfer' | 'check' | 'chargeback' | 'other', required: The method used for the offline manual transaction, allowable values: `cash`, `bank_transfer`, `check`, `chargeback`, `other`
          - `comment` string: Optional comment for manual transaction
          - `reference` string: Optional reference for the manual transaction
          - `payment_date` string, date-time, required: When the manual transaction was performed on the form `yyyy-MM-dd`, `yyyyMMdd`, `yyyy-MM-ddTHH:mm` and `yyyy-MM-ddTHH:mm:ss`
        - `viabill_transaction` ViabillTransaction: Specifics in case of ViaBill transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `viabill_id` string: ViaBill id
        - `anyday_transaction` AnydayTransaction: Specifics in case of Anyday transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `anyday_id` string: Anyday id
        - `santander_transaction` SantanderTransaction: Specifics in case of Santander transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `santander_id` string: Santander id
        - `resurs_transaction` ResursTransaction: Specifics in case of Resurs Bank transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `resurs_id` string: Resurs id
        - `klarna_transaction` KlarnaTransaction: Specifics in case of Klarna transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `type` 'klarna' | 'klarna_pay_now' | 'klarna_pay_later' | 'klarna_slice_it' | 'klarna_direct_bank_transfer' | 'klarna_direct_debit', required: Transaction type: `klarna` - recurring Klarna mandate payment, `klarna_pay_now`, `klarna_pay_later`, `klarna_slice_it`, `klarna_direct_bank_transfer`, `klarna_direct_debit`
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `klarna_id` string: Klarna id
          - `klarna_mandate` KlarnaMandate: Klarna mandate used to initiate transaction when transaction is recurring
        - `swish_transaction` SwishTransaction: Specifics in case of Swish transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `swish_id` string: Swish id
        - `paypal_transaction` PaypalTransaction: Specifics in case of PayPal transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `email` string: Payer email
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `paypal_id` string: PayPal id
          - `paypal_mandate` PaypalMandate: PayPal mandate used to initiate transaction when transaction is recurring
            - `email` string: Payer email
            - `first_name` string: Payer first name
            - `last_name` string: Payer last name
            - `payer_id` string: PayPal payer id
            - `phone_number` string: Payer phone number
          - `first_name` string: Payer first name
          - `last_name` string: Payer last name
          - `payer_id` string: PayPal payer id
          - `phone_number` string: Payer phone number
        - `bancontact_transaction` BancontactTransaction: Specifics in case of Bancontact transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `bancontact_id` string: Bancontact id
        - `blik_transaction` BlikTransaction: Specifics in case of BLIK transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `blik_id` string: Blik id
        - `giropay_transaction` GiropayTransaction: Specifics in case of Giropay transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `giropay_id` string: Giropay id
        - `ideal_transaction` IdealTransaction: Specifics in case of IDEAL transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `ideal_id` string: Ideal id
        - `p24_transaction` P24Transaction: Specifics in case of P24 transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `p24_id` string: P24 id
        - `sepa_transaction` SepaTransaction: Specifics in case of SEPA transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `sepa_id` string: SEPA id
          - `sepa_mandate` SepaMandate: SEPA Mandate
            - `iban` string: Mandate IBAN
            - `sepa_mandate_bank_reference` string, required: Bank reference
        - `trustly_transaction` TrustlyTransaction: Specifics in case of Trustly transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `trustly_id` string: Trustly id
        - `verkkopankki_transaction` VerkkopankkiTransaction: Specifics in case of Verkkopankki transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `verkkopankki_id` string: VerkkopankkiTransaction id
        - `eps_transaction` EpsTransaction: Specifics in case of Eps transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `eps_id` string: Eps id
        - `estonia_banks_transaction` EstoniaBanksTransaction: Specifics in case of Estonia Banks transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `estonia_banks_id` string: Estonia Banks id
        - `latvia_banks_transaction` LatviaBanksTransaction: Specifics in case of Latvia Banks transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `latvia_banks_id` string: Latvia Banks id
        - `lithuania_banks_transaction` LithuaniaBanksTransaction: Specifics in case of Lithuania Banks transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `lithuania_banks_id` string: Lithuania Banks id
        - `mbway_transaction` MbwayTransaction: Specifics in case of MB Way transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `mb_way_id` string: MB Way id
        - `multibanco_transaction` MultibancoTransaction: Specifics in case of Multibanco transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `multibanco_id` string: Multibanco id
        - `mybank_transaction` MybankTransaction: Specifics in case of MyBank transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `mybank_id` string: MyBank id
        - `payconiq_transaction` PayconiqTransaction: Specifics in case of Payconiq transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `payconiq_id` string: Payconiq id
        - `paysafecard_transaction` PaysafecardTransaction: Specifics in case of Paysafecard transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `paysafecard_id` string: Paysafecard id
        - `paysera_transaction` PayseraTransaction: Specifics in case of Paysera transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `paysera_id` string: Paysera id
        - `postfinance_transaction` PostfinanceTransaction: Specifics in case of PostFinance transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `postfinance_id` string: PostFinance id
        - `satispay_transaction` SatispayTransaction: Specifics in case of Satispay transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `satispay_id` string: Satispay id
        - `wechatpay_transaction` WeChatPayTransaction: Specifics in case of WeChat Pay transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `wechatpay_id` string: WeChat Pay id
        - `mps_transaction` MpsTransaction: Specifics in case of MobilePay Subscriptions transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `mps_id` string, required: MobilePay Subscriptions id
          - `mps_subscription` MpsSubscription, required: MobilePay Subscriptions agreement
            - `id` string, required: Unique id for payment method
            - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
            - `customer` string, required: Customer by handle
            - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
            - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
            - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
            - `external_id` string: Optional external id at MobilePay defined when creating the subscription
          - `mps_payment_type` 'regular' | 'one_off_cit' | 'one_off_mit', required: MobilePay Subscriptions payment type: `regular`, `one_off_cit` (customer initiated), `one_off_mit` (merchant initiated auto reserve)
        - `vipps_recurring_transaction` VippsRecurringTransaction: Specifics in case of Vipps Recurring transaction
          - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `ref_transaction` string: Id of a possible referenced transaction
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `acquirer_message` string: Acquirer message in case of error
          - `vipps_recurring_id` string, required: Vipps Recurring id
          - `vipps_recurring_mandate` VippsRecurringMandate, required: Vipps Recurring mandate
        - `payment_context` string: Payment context describing if the transaction is customer or merchant initiated, one of the following values: `cit`, `mit`, `cit_cof`
      - `accounting_number` string: Accounting number
      - `download_url` string: Url to invoice pdf
    - `next_page_token` string: Pagination token to use to get the next page. Notice that page size and range should be the same for all page requests. If not present the last page has been reached.
  - `settled_amount` integer: Summed settled amount
  - `refunded_amount` integer: Summed refunded amount
  - `pending_additional_costs` integer: Number of pending additional costs
  - `pending_additional_cost_amount` integer: Summed amount of pending additional costs incl vat
  - `transferred_additional_costs` integer: Number of additional costs that have been applied to invoices
  - `transferred_additional_cost_amount` integer: Summed amount of additional costs that have been applied to invoices
  - `additional_costs` AdditionalCost[]: List of subscription additional costs
    - `invoice` string: Invoice id for the invoice the additional cost has been assigned to once it has been transferred
    - `state` 'pending' | 'transferred' | 'cancelled', required: State of the additional cost, one of the following: `pending`, `transferred`, `cancelled`. A pending additonal cost has not yet been transferred to a invoice. Cancelled addtional costs have been cancelled manually.
    - `subscription` string, required: Subscription handle
    - `handle` string, required: Per account unique handle for the additional cost
    - `ordertext` string, required: Order text for the additional cost. Will be on affected invoices.
    - `quantity` integer: Quantity for the additional cost. Default 1.
    - `amount` integer, required: Additional cost total amount
    - `vat` number, float: Optional vat for additional cost. Account default is used if none given.
    - `created` string, date-time, required: Date when the additional cost was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `amount_incl_vat` boolean, required: Whether the amount is including VAT. Default true.
    - `amount_vat` integer, required: Additional cost vat amount
    - `amount_ex_vat` integer, required: Additional cost amount without vat
    - `tax_policy` string: Optional tax policy handle for this additional cost. If vat and tax policy is given, vat will be ignored.
  - `pending_credits` integer: Number of credits that have not fully been applied to invoices
  - `pending_credit_amount` integer: Summed credit amount not yet applied to invoices
  - `transferred_credits` integer: Number of credits that have fully been applied to invoices
  - `credits` Credit[]: List of subscription credits
    - `subscription` string, required: Subscription by handle to add the credit to
    - `handle` string, required: Per account unique handle for the credit. Max length 255 with allowable characters [a-zA-Z0-9_.-@].
    - `amount` integer, required: Credit amount in the smallest unit for the subscription currency
    - `text` string, required: Text describing the credit. Will be on affected invoices.
    - `state` 'pending' | 'transferred' | 'cancelled', required: State of the credit, one of the following: `pending`, `transferred`, `cancelled`. Pending credits have not yet been transferred fully to invoices. Cancelled credits have been manually cancelled.
    - `created` string, date-time, required: Date when the credit was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `valid_from` string: Date on the form yyyy-MM-dd from which the credit is valid. The credit will not be deducted from invoices before this date.
    - `credit_invoices` CreditInvoice[]: List of invoices where the credit is applied
      - `credit` string, required: Credit handle
      - `amount` integer, required: The credit amount transferred to invoice
      - `created` string, date-time, required: Date when credit was transferred to invoice. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `text` string, required: Text describing the credit.
    - `pending_amount` integer, required: Remaining amount not transferred to invoices
    - `invoice_credit_note` InvoiceCreditNote: Invoice credit notes
      - `id` string, required: Credit note id
      - `invoice` string, required: Invoice credited by this note
      - `transaction` string: Refund transaction id if credit note has an associated refund
      - `credit` string: Credit reference if the credit note relates to a subscription credit
      - `amount` integer, required: Credit note amount
      - `created` string, date-time, required: Creation date for note, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `currency` string, required: Credit note currency in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
      - `customer` string, required: Customer handle
      - `subscription` string: Subscription handle, will be null for a one-time customer invoice
      - `amount_vat` integer, required: Credit note vat amount calculated as rounded summed fractional vats for each credit note lines
      - `amount_ex_vat` integer: Credit note total amount excluding VAT calculated as summed amounts excl. vats for each credit note lines
      - `credit_note_lines` CreditNoteLine[], required: Credit note lines
        - `amount` integer, required: Credit note line total amount
        - `text` string, required: Credit note line text
        - `description` string: Order line description
        - `quantity` integer, required: Credit note line quantity
        - `vat` number, float: Vat for this credit note line
        - `created` string, date-time: Creation date for this credit note line, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `origin` 'plan' | 'add_on' | 'ondemand' | 'additional_cost' | 'credit' | 'discount' | 'setup_fee' | 'surcharge_fee' | 'metered_billing_product': Order line origin, one of the following: `plan`, `add_on`, `ondemand`, `additional_cost`, `credit`, `discount`, `setup_fee`, `surcharge_fee`, `metered_billing_product`
        - `order_line_id` string: Reference to invoice orderline this credit note line relates to
        - `amount_incl_vat` integer: Credit note line total amount including VAT
        - `amount_ex_vat` integer: Credit note line total amount excluding VAT
        - `unit_amount` integer: Credit note line unit amount
        - `unit_amount_vat` integer: Credit note line vat amount
        - `unit_amount_ex_vat` integer: Credit note line unit amount excluding VAT
        - `amount_incl_vat_defined` boolean: Whether the total and units are including VAT.
        - `period_from` string, date-time: The start of billing period in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `period_to` string, date-time: The end of billing period in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `cost_object` string: Cost object number (Kostenträger-Nr.) this line is booked to
      - `accounting_number` string: Credit note accounting number
      - `debtor_id` integer: Customer debtor id
      - `download_url` string: Link to the credit note PDF, available if PDF generation and accounting features are enabled (only for subscription invoices, not charges). Access requires authentication. See https://docs.frisbii.com/reference/authentication. The response is a binary PDF file.
      - `accounting_created_date` string, date-time: When the credit note was created. A credit note is created when a non-charging invoice is cancelled or refunded. Timestamp in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `cost_center` string: Cost center for accounting purposes
      - `po_number` string: Purchase order number for accounting purposes
      - `sales_rep_id` string: Sales representative identifier
      - `order_id` string: Order identifier
      - `invoice_file_type` 'pdf' | 'pdf_xml': The type of invoice file, e.g. `pdf`
  - `transferred_credit_amount` integer: Summed credit amount that have been applied to invoices
  - `hosted_page_links` SubscriptionLinks: Links to hosted pages relating to subscription
    - `payment_info` string, required: Hosted page for setting payment information on subscription. Optional arguments `accept_url` and `cancel_url` can be added as query parameters to the URL to have the hosted page redirect after success or cancellation, respectively.
  - `subscription_discounts` SubscriptionDiscount[]: List of subscription discounts attached to subscription
    - `handle` string, required: Per subscription unique handle for the subscription discount.
    - `discount` string, required: Discount for subscription discount
    - `state` 'active' | 'deleted', required: Discount state `active` or `deleted`.
    - `coupon` string: Coupon reference if this discount was released by a coupon code
    - `deleted` string, date-time: Date when the discount was deleted if deleted. In ISO-8601 extended offset date-time format.
    - `created` string, date-time, required: Date when the discount was created. In ISO-8601 extended offset date-time format.
    - `name` string: Optional name overriding the discount name. If not defined the discount name will be used as order line text.
    - `description` string: Optional description overriding the discount description. If not defined the discount description will be used.
    - `amount` integer: Fixed amount discount deducted from order line amounts including VAT
    - `currency` string: Currency of fixed amount discount in ISO 4217 three letter alpha code
    - `percentage` integer: Percentage discount applied to each applicable order line
    - `count` integer, required: Number of invoices this subscription discount has been applied to
    - `invoices` string[], required: List of invoices this subscription discount has been applied to
    - `discount_dto` Discount, required: Discount template for subscription discount
      - `name` string, required: Name of discount. Will be used as order line text.
      - `description` string: Optional description of discount
      - `amount` integer: Fixed amount discount deducted from order line amounts including VAT, either amount or percentage should be provided
      - `currency` string: Currency for the discount plan in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
      - `percentage` integer: Percentage discount applied to each applicable order line, either amount or percentage should be provided
      - `handle` string, required: Per account unique handle for the discount
      - `metadata` object: Custom metadata.
      - `state` 'active' | 'deleted', required: Discount state `active` or `deleted`.
      - `deleted` string, date-time: Date when the discount was deleted if deleted. In ISO-8601 extended offset date-time format.
      - `created` string, date-time, required: Date when the discount was created. In ISO-8601 extended offset date-time format.
      - `apply_to` string[], required: Which order lines the discount is applicable to: `all`, `setup_fee`, `plan`, `additional_cost`, `add_on`, `ondemand` and `metered_billing_product`
      - `fixed_count` integer: Apply discount to a fixed number of invoices
      - `fixed_period_unit` 'months' | 'days': Time unit use for fixed valid period either `days` or `months`
      - `fixed_period` integer: Fixed period length e.g. 12 months or 14 days
    - `apply_to` string[], required: Which order lines the discount is applicable to: `all`, `setup_fee`, `plan`, `additional_cost`, `add_on`, `ondemand` and `metered_billing_product`
    - `fixed_count` integer: Apply discount to a fixed number of invoices
    - `fixed_period_unit` 'months' | 'days': Time unit use for fixed valid period
    - `fixed_period` integer: Fixed period length e.g. 12 months or 14 days
    - `fixed_usage_reached` boolean, required: Whether fixed usage for subscription discount has been reached
    - `fixed_period_passed` boolean, required: Whether fixed period for subscription discount has been passed
    - `applicable_until` string, date-time, required: The date until this discount is or was applicable
  - `coupons` string[]: List of coupon handles redeemed for the subscription
  - `pending_change` SubscriptionChange: List of subscription changes both at most one pending and previously applied
    - `plan` string: The handle of the plan to change to
    - `amount` integer: Optional custom per quantity plan price. If provided the plan price billed for each billing period will be overridden by this price.
    - `quantity` integer: Optional quantity of the plan product for this subscription. If not provided the default is the default plan quantity defined for the plan.
    - `pending` boolean, required: Whether this is a pending change at next renewal, or it has been applied
    - `applied` string, date-time: If defined the change was applied on this date and time
    - `updated` string, date-time: Date and time of update of pending change
    - `created` string, date-time, required: Date when the change was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `plan_version` integer: The version of the plan to change to. If not provided the latest version of the plan will be used.
    - `amount_incl_vat` boolean: Whether the optional amount is including VAT.
    - `subscription_add_ons` SubscriptionAddOn[]: List of subscription add-ons to create in change
      - `handle` string, required: Per subscription unique handle for the subscription add-on.
      - `quantity` integer: Quantity of the subscription add-on. Only defined for quantity type add-ons
      - `amount` integer: Fixed subscription add-on per quantity price. If not defined the subscription add-on uses the add-on price. For a subscription add-on priced with its own single per-unit price this reports that price, also when it is configured as a pricing curve. Null for tiered/stepped pricing.
      - `name` string: Optional name overriding the add-on name. If not defined the add-on name will be used as order line text.
      - `description` string: Optional description overriding the add-on description. If not defined the add-on description will be used.
      - `created` string, date-time, required: Date when the subscription add-on was created. In ISO-8601 extended offset date-time format.
      - `currency` string, required: Currency for the subscription addon in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code. Always the currency of the add-on.
      - `add_on` AddOn, required: Add-on for subscription add-on
        - `name` string, required: Name of add-on. Will be used as order line text.
        - `description` string: Optional description of add-on
        - `amount` integer: Add-on amount. Required when no pricing block is provided. For add-ons priced with a single per-unit price this reports that price, also when it is configured as a pricing curve. Null for tiered/stepped pricing.
        - `vat` number, float: Optional vat for add-on. Account default is used if none given.
        - `type` 'on_off' | 'quantity', required: Add-on type `on_off` or `quantity`. An `on_off` type cannot be given a quantity when attached to subscription. For `quantity` type it is possible. Type can only be updated from `on_off` to `quantity`. It is not allowed to change type from `quantity` to `on_off`.
        - `handle` string, required: Per account unique handle for the add-on
        - `state` 'active' | 'deleted', required: Add-on state `active` or `deleted`.
        - `deleted` string, date-time: Date when the add-on was deleted if deleted. In ISO-8601 extended offset date-time format.
        - `created` string, date-time, required: Date when the add-on was created. In ISO-8601 extended offset date-time format.
        - `currency` string: Currency for the add-on in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
        - `amount_incl_vat` boolean: Whether the amount is including VAT. Default true.
        - `tax_policy` string: Optional tax policy handle for add-on. Account default is used if none given.
        - `min_units` integer: Minimum allowed quantity for a `quantity` type add-on, at least 1. Only allowed when `type` is `quantity`. When the add-on is attached without a `quantity`, this value is used as the quantity. A lower quantity, when attaching the add-on or with `change_addon_quantity`, is rejected with error code 228 (`ADD_ON_QUANTITY_OUT_OF_RANGE`).
        - `max_units` integer: Maximum allowed quantity for a `quantity` type add-on, at least 1 and not lower than `min_units`. Only allowed when `type` is `quantity`. A higher quantity, when attaching the add-on or with `change_addon_quantity`, is rejected with error code 228 (`ADD_ON_QUANTITY_OUT_OF_RANGE`).
        - `all_plans` boolean: Whether all plans are eligible for this add-on. Defaults to false.
        - `eligible_plans` string[]: If not `all_plans` are set to true, then the set of eligible plan handles must be defined.
        - `entitlements` string[]: List of entitlement handles for the add-on.
        - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
          - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
          - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
          - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
          - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
          - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
            - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
            - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
            - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
        - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
        - `billing_period` 'day' | 'week' | 'month' | 'year': Billing period for the add-on. Defines the unit of the billing interval. Not set when the add-on is billed together with the subscription plan. Copied onto the subscription add-on when the add-on is attached.
        - `billing_interval_length` integer: Billing interval length for the add-on. Defines how many billing periods between each billing. Only applies when `billing_period` is set, where 1 is used if it is not set. Copied onto the subscription add-on when the add-on is attached.
      - `amount_incl_vat` boolean: If fixed price this parameter tells whether the amount is including VAT
      - `total_amount` integer: Total amount for the subscription add-on's configured quantity, computed server-side. Covers all pricing models (flat, per unit, per unit step, per tier and per tier step), respecting any amount or pricing overrides on the subscription add-on itself. Follows the same VAT inclusion as `amount_incl_vat` when set, otherwise the add-on's `amount_incl_vat`.
      - `billing_period` 'day' | 'week' | 'month' | 'year': Billing period for the subscription add-on, copied from the add-on when it was attached. Defines the unit of the billing interval. Not set when the add-on is billed together with the subscription plan.
      - `billing_interval_length` integer: Billing interval length for the subscription add-on, copied from the add-on when it was attached. Defines how many billing periods between each billing. Only applies when `billing_period` is set, where 1 is used if it is not set.
      - `next_period_start` string, date-time: Date when the next billing period for this subscription add-on starts. In ISO-8601 extended offset date-time format. Only maintained for an add-on with its own `billing_period`, where it may not be set before the add-on has first been billed. An add-on billed together with the subscription plan follows the `next_period_start` of the subscription.
      - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
        - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
        - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
        - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
        - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
        - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
          - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
          - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
          - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
      - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
      - `pricing_strategy` 'fixed' | 'flexible' | 'custom': Pricing strategy for the subscription add-on's price. `fixed`: the add-on's pricing was snapshotted when it was attached and does not change afterwards. `flexible`: follows the add-on's live pricing. `custom`: the price was overridden with `amount` or `pricing` when attaching. For a subscription add-on attached before the strategy was recorded, it is derived from the stored price.
    - `compensation_method` 'none' | 'prorated' | 'full': When pending at renewal: `none`, `prorated`, or `full` (null defaults to `prorated` at application). Omitted when not set.
    - `remove_add_ons` string[]: Subscription add-ons to remove from subscription by subscription add-on handle
    - `fixation_period_end_date` string, date-time: Earliest possible cancellation date. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `notice_periods` integer: Optional number of notice periods for a cancel. The subscription will be cancelled for this number of full periods before expiring. Either from the cancellation date, or from the end of the the current period. See `notice_periods_after_current`. The default is to expire at the end of current period (0). A value of 1 (and `notice_periods_after_current` set to true) will for example result in a scenario where the subscription is cancelled until the end of current period, and then for the full subsequent period before expiring.
    - `notice_period_unit_type` 'day' | 'week' | 'month' | 'year': Time unit used in conjunction with notice periods
    - `contract_period_end_date` string, date-time: Contract period end date for the subscription
    - `contract_period_after_renewal_period` integer: Contract period after renewal
    - `contract_period_after_renewal_unit_type` 'day' | 'week' | 'month' | 'year': Time unit for the contract period after renewal
  - `subscription_changes` SubscriptionChange[]: List of subscription changes both at most one pending and previously applied
    - `plan` string: The handle of the plan to change to
    - `amount` integer: Optional custom per quantity plan price. If provided the plan price billed for each billing period will be overridden by this price.
    - `quantity` integer: Optional quantity of the plan product for this subscription. If not provided the default is the default plan quantity defined for the plan.
    - `pending` boolean, required: Whether this is a pending change at next renewal, or it has been applied
    - `applied` string, date-time: If defined the change was applied on this date and time
    - `updated` string, date-time: Date and time of update of pending change
    - `created` string, date-time, required: Date when the change was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `plan_version` integer: The version of the plan to change to. If not provided the latest version of the plan will be used.
    - `amount_incl_vat` boolean: Whether the optional amount is including VAT.
    - `subscription_add_ons` SubscriptionAddOn[]: List of subscription add-ons to create in change
      - `handle` string, required: Per subscription unique handle for the subscription add-on.
      - `quantity` integer: Quantity of the subscription add-on. Only defined for quantity type add-ons
      - `amount` integer: Fixed subscription add-on per quantity price. If not defined the subscription add-on uses the add-on price. For a subscription add-on priced with its own single per-unit price this reports that price, also when it is configured as a pricing curve. Null for tiered/stepped pricing.
      - `name` string: Optional name overriding the add-on name. If not defined the add-on name will be used as order line text.
      - `description` string: Optional description overriding the add-on description. If not defined the add-on description will be used.
      - `created` string, date-time, required: Date when the subscription add-on was created. In ISO-8601 extended offset date-time format.
      - `currency` string, required: Currency for the subscription addon in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code. Always the currency of the add-on.
      - `add_on` AddOn, required: Add-on for subscription add-on
        - `name` string, required: Name of add-on. Will be used as order line text.
        - `description` string: Optional description of add-on
        - `amount` integer: Add-on amount. Required when no pricing block is provided. For add-ons priced with a single per-unit price this reports that price, also when it is configured as a pricing curve. Null for tiered/stepped pricing.
        - `vat` number, float: Optional vat for add-on. Account default is used if none given.
        - `type` 'on_off' | 'quantity', required: Add-on type `on_off` or `quantity`. An `on_off` type cannot be given a quantity when attached to subscription. For `quantity` type it is possible. Type can only be updated from `on_off` to `quantity`. It is not allowed to change type from `quantity` to `on_off`.
        - `handle` string, required: Per account unique handle for the add-on
        - `state` 'active' | 'deleted', required: Add-on state `active` or `deleted`.
        - `deleted` string, date-time: Date when the add-on was deleted if deleted. In ISO-8601 extended offset date-time format.
        - `created` string, date-time, required: Date when the add-on was created. In ISO-8601 extended offset date-time format.
        - `currency` string: Currency for the add-on in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
        - `amount_incl_vat` boolean: Whether the amount is including VAT. Default true.
        - `tax_policy` string: Optional tax policy handle for add-on. Account default is used if none given.
        - `min_units` integer: Minimum allowed quantity for a `quantity` type add-on, at least 1. Only allowed when `type` is `quantity`. When the add-on is attached without a `quantity`, this value is used as the quantity. A lower quantity, when attaching the add-on or with `change_addon_quantity`, is rejected with error code 228 (`ADD_ON_QUANTITY_OUT_OF_RANGE`).
        - `max_units` integer: Maximum allowed quantity for a `quantity` type add-on, at least 1 and not lower than `min_units`. Only allowed when `type` is `quantity`. A higher quantity, when attaching the add-on or with `change_addon_quantity`, is rejected with error code 228 (`ADD_ON_QUANTITY_OUT_OF_RANGE`).
        - `all_plans` boolean: Whether all plans are eligible for this add-on. Defaults to false.
        - `eligible_plans` string[]: If not `all_plans` are set to true, then the set of eligible plan handles must be defined.
        - `entitlements` string[]: List of entitlement handles for the add-on.
        - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
          - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
          - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
          - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
          - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
          - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
            - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
            - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
            - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
        - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
        - `billing_period` 'day' | 'week' | 'month' | 'year': Billing period for the add-on. Defines the unit of the billing interval. Not set when the add-on is billed together with the subscription plan. Copied onto the subscription add-on when the add-on is attached.
        - `billing_interval_length` integer: Billing interval length for the add-on. Defines how many billing periods between each billing. Only applies when `billing_period` is set, where 1 is used if it is not set. Copied onto the subscription add-on when the add-on is attached.
      - `amount_incl_vat` boolean: If fixed price this parameter tells whether the amount is including VAT
      - `total_amount` integer: Total amount for the subscription add-on's configured quantity, computed server-side. Covers all pricing models (flat, per unit, per unit step, per tier and per tier step), respecting any amount or pricing overrides on the subscription add-on itself. Follows the same VAT inclusion as `amount_incl_vat` when set, otherwise the add-on's `amount_incl_vat`.
      - `billing_period` 'day' | 'week' | 'month' | 'year': Billing period for the subscription add-on, copied from the add-on when it was attached. Defines the unit of the billing interval. Not set when the add-on is billed together with the subscription plan.
      - `billing_interval_length` integer: Billing interval length for the subscription add-on, copied from the add-on when it was attached. Defines how many billing periods between each billing. Only applies when `billing_period` is set, where 1 is used if it is not set.
      - `next_period_start` string, date-time: Date when the next billing period for this subscription add-on starts. In ISO-8601 extended offset date-time format. Only maintained for an add-on with its own `billing_period`, where it may not be set before the add-on has first been billed. An add-on billed together with the subscription plan follows the `next_period_start` of the subscription.
      - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
        - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
        - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
        - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
        - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
        - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
          - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
          - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
          - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
      - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
      - `pricing_strategy` 'fixed' | 'flexible' | 'custom': Pricing strategy for the subscription add-on's price. `fixed`: the add-on's pricing was snapshotted when it was attached and does not change afterwards. `flexible`: follows the add-on's live pricing. `custom`: the price was overridden with `amount` or `pricing` when attaching. For a subscription add-on attached before the strategy was recorded, it is derived from the stored price.
    - `compensation_method` 'none' | 'prorated' | 'full': When pending at renewal: `none`, `prorated`, or `full` (null defaults to `prorated` at application). Omitted when not set.
    - `remove_add_ons` string[]: Subscription add-ons to remove from subscription by subscription add-on handle
    - `fixation_period_end_date` string, date-time: Earliest possible cancellation date. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `notice_periods` integer: Optional number of notice periods for a cancel. The subscription will be cancelled for this number of full periods before expiring. Either from the cancellation date, or from the end of the the current period. See `notice_periods_after_current`. The default is to expire at the end of current period (0). A value of 1 (and `notice_periods_after_current` set to true) will for example result in a scenario where the subscription is cancelled until the end of current period, and then for the full subsequent period before expiring.
    - `notice_period_unit_type` 'day' | 'week' | 'month' | 'year': Time unit used in conjunction with notice periods
    - `contract_period_end_date` string, date-time: Contract period end date for the subscription
    - `contract_period_after_renewal_period` integer: Contract period after renewal
    - `contract_period_after_renewal_unit_type` 'day' | 'week' | 'month' | 'year': Time unit for the contract period after renewal
  - `subscription_add_ons` SubscriptionAddOn[]: List of subscription add-ons attached to subscription
    - `handle` string, required: Per subscription unique handle for the subscription add-on.
    - `quantity` integer: Quantity of the subscription add-on. Only defined for quantity type add-ons
    - `amount` integer: Fixed subscription add-on per quantity price. If not defined the subscription add-on uses the add-on price. For a subscription add-on priced with its own single per-unit price this reports that price, also when it is configured as a pricing curve. Null for tiered/stepped pricing.
    - `name` string: Optional name overriding the add-on name. If not defined the add-on name will be used as order line text.
    - `description` string: Optional description overriding the add-on description. If not defined the add-on description will be used.
    - `created` string, date-time, required: Date when the subscription add-on was created. In ISO-8601 extended offset date-time format.
    - `currency` string, required: Currency for the subscription addon in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code. Always the currency of the add-on.
    - `add_on` AddOn, required: Add-on for subscription add-on
      - `name` string, required: Name of add-on. Will be used as order line text.
      - `description` string: Optional description of add-on
      - `amount` integer: Add-on amount. Required when no pricing block is provided. For add-ons priced with a single per-unit price this reports that price, also when it is configured as a pricing curve. Null for tiered/stepped pricing.
      - `vat` number, float: Optional vat for add-on. Account default is used if none given.
      - `type` 'on_off' | 'quantity', required: Add-on type `on_off` or `quantity`. An `on_off` type cannot be given a quantity when attached to subscription. For `quantity` type it is possible. Type can only be updated from `on_off` to `quantity`. It is not allowed to change type from `quantity` to `on_off`.
      - `handle` string, required: Per account unique handle for the add-on
      - `state` 'active' | 'deleted', required: Add-on state `active` or `deleted`.
      - `deleted` string, date-time: Date when the add-on was deleted if deleted. In ISO-8601 extended offset date-time format.
      - `created` string, date-time, required: Date when the add-on was created. In ISO-8601 extended offset date-time format.
      - `currency` string: Currency for the add-on in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
      - `amount_incl_vat` boolean: Whether the amount is including VAT. Default true.
      - `tax_policy` string: Optional tax policy handle for add-on. Account default is used if none given.
      - `min_units` integer: Minimum allowed quantity for a `quantity` type add-on, at least 1. Only allowed when `type` is `quantity`. When the add-on is attached without a `quantity`, this value is used as the quantity. A lower quantity, when attaching the add-on or with `change_addon_quantity`, is rejected with error code 228 (`ADD_ON_QUANTITY_OUT_OF_RANGE`).
      - `max_units` integer: Maximum allowed quantity for a `quantity` type add-on, at least 1 and not lower than `min_units`. Only allowed when `type` is `quantity`. A higher quantity, when attaching the add-on or with `change_addon_quantity`, is rejected with error code 228 (`ADD_ON_QUANTITY_OUT_OF_RANGE`).
      - `all_plans` boolean: Whether all plans are eligible for this add-on. Defaults to false.
      - `eligible_plans` string[]: If not `all_plans` are set to true, then the set of eligible plan handles must be defined.
      - `entitlements` string[]: List of entitlement handles for the add-on.
      - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
        - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
        - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
        - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
        - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
        - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
          - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
          - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
          - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
      - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
      - `billing_period` 'day' | 'week' | 'month' | 'year': Billing period for the add-on. Defines the unit of the billing interval. Not set when the add-on is billed together with the subscription plan. Copied onto the subscription add-on when the add-on is attached.
      - `billing_interval_length` integer: Billing interval length for the add-on. Defines how many billing periods between each billing. Only applies when `billing_period` is set, where 1 is used if it is not set. Copied onto the subscription add-on when the add-on is attached.
    - `amount_incl_vat` boolean: If fixed price this parameter tells whether the amount is including VAT
    - `total_amount` integer: Total amount for the subscription add-on's configured quantity, computed server-side. Covers all pricing models (flat, per unit, per unit step, per tier and per tier step), respecting any amount or pricing overrides on the subscription add-on itself. Follows the same VAT inclusion as `amount_incl_vat` when set, otherwise the add-on's `amount_incl_vat`.
    - `billing_period` 'day' | 'week' | 'month' | 'year': Billing period for the subscription add-on, copied from the add-on when it was attached. Defines the unit of the billing interval. Not set when the add-on is billed together with the subscription plan.
    - `billing_interval_length` integer: Billing interval length for the subscription add-on, copied from the add-on when it was attached. Defines how many billing periods between each billing. Only applies when `billing_period` is set, where 1 is used if it is not set.
    - `next_period_start` string, date-time: Date when the next billing period for this subscription add-on starts. In ISO-8601 extended offset date-time format. Only maintained for an add-on with its own `billing_period`, where it may not be set before the add-on has first been billed. An add-on billed together with the subscription plan follows the `next_period_start` of the subscription.
    - `pricing` AddOnPricing: Pricing curve of an add-on or of a subscription add-on, used instead of a flat amount. Any pricing other than a `per_unit` model with a single range requires the `ADVANCED_ADDON_PRICING` entitlement, otherwise the request is rejected with HTTP 403 and error code 209 (`FEATURE_NOT_INCLUDED_IN_PLAN`).
      - `pricing_model` 'per_unit' | 'per_unit_step' | 'per_tier' | 'per_tier_step': Pricing model, applied to the quantity of the add-on: - `per_unit`: all units are charged at the price per unit of the range the quantity falls in. - `per_unit_step`: the units in each range are charged at that range's price per unit, and the charges are summed. - `per_tier`: a flat fee, the price of the range the quantity falls in, is charged regardless of the number of units. - `per_tier_step`: the flat fees of all ranges up to and including the one the quantity falls in are summed. The per-unit models scale with the number of units, the per-tier models charge a flat fee per range. Percentage models are not supported for add-ons. Required when `pricing` is given on an add-on. On a `custom` subscription add-on it defaults to the add-on's pricing model when omitted.
      - `unit_label` string: Label for the unit the add-on is priced in. Ignored while `unit_handle` links a unit. On a `custom` subscription add-on it defaults to the add-on's value when omitted.
      - `unit_handle` string: Handle of the unit of measure the pricing is linked to. While a unit is linked, the response reports the unit's names as `unit_label` and `unit_label_plural`, and the stored `unit_label` is ignored. Rejected for percentage pricing models. On update, `null` removes the link and leaving the field out keeps it.
      - `unit_label_plural` string: Plural name of the linked unit. Response only; left out when no unit is linked.
      - `unit_ranges` UnitRangeDto[]: Unit price ranges, in ascending order. The first range starts at 0, the ranges are contiguous (the `from` of a range is the `to` of the previous range plus 1) and only the last range may be open-ended (`to` not set). `price_per_unit` must not be negative. Required and not empty when `pricing` is given on a subscription add-on.
        - `from` integer, required: From value of the range (incl.). The first range starts at 0, and every following range starts at the `to` of the previous range plus 1.
        - `to` integer: To value of the range (incl.). If not set, the range is open ended, which is only allowed for the last range.
        - `price_per_unit` string, required: Price per unit in the range, a non-negative decimal string with up to 3 decimals. For the per-unit and per-tier pricing models it is an amount in major currency units, so `10.00` is 10 DKK.
    - `cost_object` string: Cost object number (Kostenträger-Nr.) used for accounting export
    - `pricing_strategy` 'fixed' | 'flexible' | 'custom': Pricing strategy for the subscription add-on's price. `fixed`: the add-on's pricing was snapshotted when it was attached and does not change afterwards. `flexible`: follows the add-on's live pricing. `custom`: the price was overridden with `amount` or `pricing` when attaching. For a subscription add-on attached before the strategy was recorded, it is derived from the stored price.
  - `next_invoice_preview` InvoiceDetails: Next invoice preview
    - `id` string: Autogenerated Id
    - `handle` string: Per account unique handle. Provided at on-demand invoice/charge creation or set to `inv-<invoice_number>` for automatically created subscription invoices
    - `state` 'created' | 'pending' | 'dunning' | 'settled' | 'authorized' | 'cancelled' | 'failed': The invoice state one of the following: `created`, `pending`, `dunning`, `settled`, `cancelled`, `authorized`, `failed`
    - `amount` integer: The invoice amount including VAT
    - `currency` string: Currency for the account in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
    - `created` string, date-time: When the invoice was created, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `customer` string, required: Customer handle
    - `subscription` string: Subscription handle, will be null for a one-time customer invoice
    - `plan` string: Subscription plan handle for the plan used to automatically create the invoice or the case that an on-demand subscription invoice has been created that should include a plan order line
    - `processing` boolean: For asynchronous payment methods, e.g. MobilePay subscriptions, this flag indicates that an invoice transaction is in state processing and is awaiting result.
    - `type` 's' | 'so' | 'soi' | 'co' | 'ch', required: The type of invoice: `s` - subscription recurring, `so` - subscription one-time, `soi` - subscription one-time instant, `co` - customer one-time, `ch` - charge
    - `number` integer: Sequential invoice number. Only present for subscription and customer invoices.
    - `due` string, date-time, required: When is the invoice due, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `failed` string, date-time: When the invoice failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `settled` string, date-time: When the invoice settled, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `cancelled` string, date-time: When the invoice was cancelled, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `authorized` string, date-time: When the invoice was authorized, if the invoice went through an authorize and settle flow, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `credits` CreditInvoice[], required: Credits applied to invoice
      - `credit` string, required: Credit handle
      - `amount` integer, required: The credit amount transferred to invoice
      - `created` string, date-time, required: Date when credit was transferred to invoice. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `text` string, required: Text describing the credit.
    - `plan_version` integer: Subscription plan version
    - `dunning_plan` string: Dunning plan handle
    - `discount_amount` integer, required: The potential discount amount deducted from the invoice amount including VAT
    - `org_amount` integer, required: The invoice original amount including VAT, may differ from amount if adjustments have been applied for the invoice
    - `amount_vat` integer, required: The invoice vat amount calculated as rounded summed fractional vats for each orderline
    - `amount_ex_vat` integer, required: The invoice amount without vat
    - `settled_amount` integer, required: Settled amount
    - `refunded_amount` integer, required: Refunded amount
    - `authorized_amount` integer: Authorized amount
    - `credited_amount` integer: Credited amount
    - `period_number` integer: The subscription period this invoice is for
    - `recurring_payment_method` string: Optional reference to recurring payment method created in conjunction with charging
    - `order_lines` OrderLine[], required: Order lines for invoice sorted by descending timestamp
      - `id` string, required: Per account unique order line id
      - `ordertext` string, required: Order line text
      - `amount` integer, required: Order line total amount including vat
      - `vat` number, float, required: Order line vat percent
      - `quantity` integer, required: Order line quantity
      - `origin` 'plan' | 'add_on' | 'ondemand' | 'additional_cost' | 'credit' | 'discount' | 'setup_fee' | 'surcharge_fee' | 'metered_billing_product', required: Order line origin, one of the following: `plan`, `add_on`, `ondemand`, `additional_cost`, `credit`, `discount`, `setup_fee`, `surcharge_fee`, `metered_billing_product`
      - `timestamp` string, date-time, required: Timestamp from order line origin, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `amount_vat` integer, required: Order line total vat amount
      - `amount_ex_vat` integer, required: Order line total amount without vat
      - `discounted_amount` integer: Order line amount after potential discount has been deducted, including vat
      - `discounted_amount_ex_vat` integer: Order line amount after potential discount has been deducted, excluding vat
      - `unit_amount` integer, required: Order line unit amount including vat
      - `unit_amount_vat` integer, required: Order line unit vat amount
      - `unit_amount_ex_vat` integer, required: Order line unit amount without vat
      - `amount_defined_incl_vat` boolean, required: Whether the amount was defined including VAT. E.g. plan amount defined including VAT.
      - `applied_tax_rule` 'reverse_charge' | 'intra_community_digital_service' | 'third_country' | 'fiscal_unity': Tax rule applied for order line indicates who is liable to account for the VAT.
      - `origin_handle` string: Handle for additional cost, credit, plan or subscription discount in the case one of those are the origin
      - `period_from` string, date-time: The start of billing period if the order line is a plan order line for a specific billing period, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `period_to` string, date-time: The end of billing period if the order line is a plan order line for a specific billing period, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `discount_percentage` integer: The discount percentage for discount order lines that has a percentage discount
      - `discounted_order_line` string: For discount order lines a reference to the order line for which the order line is a discount
      - `cost_object` string: Cost object number (Kostenträger-Nr.) this line is booked to
    - `additional_costs` string[], required: Additional cost handles for any additional costs added to this invoice
    - `transactions` InvoiceTransactionDetails[], required: Invoice transactions
      - `id` string: Autogenerated Transaction Id
      - `state` 'pending' | 'processing' | 'authorized' | 'settled' | 'refunded' | 'failed' | 'cancelled', required: State of the transaction, one of the following: `pending`, `processing`, `authorized`, `settled`, `refunded`, `failed`, `cancelled`
      - `invoice` string, required: Invoice handle
      - `type` 'settle' | 'refund' | 'authorization', required: Transaction type, one of the following: `settle`, `refund`, `authorization`
      - `amount` integer, required: The transaction amount
      - `currency` string: Currency in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
      - `settled` string, date-time: When the transaction was settled, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `authorized` string, date-time: When the transaction was authorized, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `failed` string, date-time: When the transaction failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `refunded` string, date-time: When the transaction was refunded, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `created` string, date-time, required: Date when the transaction was created. In [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `payment_type` 'card' | 'mpo' | 'mobilepay' | 'vipps' | 'vipps_recurring' | 'swish' | 'viabill' | 'anyday' | 'manual' | 'applepay' | 'googlepay' | 'paypal' | 'klarna_pay_now' | 'klarna_pay_later' | 'klarna_slice_it' | 'klarna_direct_bank_transfer' | 'klarna_direct_debit' | 'resurs' | 'santander' | 'mobilepay_subscriptions' | 'emv_token' | 'bcmc' | 'blik' | 'pp_blik_oc' | 'giropay' | 'ideal' | 'p24' | 'sepa' | 'trustly' | 'verkkopankki': Payment type for transaction, either: `card`, `mpo`, `mobilepay`, `vipps`, `vipps_recurring`, `swish`, `viabill`, `anyday`, `manual`, `applepay`, `googlepay`, `paypal`, `klarna_pay_now`, `klarna_pay_later`, `klarna_slice_it`, `klarna_direct_bank_transfer`, `klarna_direct_debit`, `resurs`, `santander`, `mobilepay_subscriptions`, `emv_token`, `bcmc`, `blik`, `pp_blik_oc`, `giropay`, `ideal`, `p24`, `sepa`, `trustly`, or `verkkopankki`
      - `payment_method` string: Reference to payment method in case of a MIT transaction
      - `card_transaction` CardTransaction: Specifics in case of GooglePay transaction
        - `card` Card: Saved card used for transaction. Only present if a saved card was used.
          - `id` string, required: Unique id for payment method
          - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
          - `customer` string, required: Customer by handle
          - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
          - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
          - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
          - `fingerprint` string: Uniquely identifies this particular card number
          - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
          - `gw_ref` string, required: Card gateway reference id
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
          - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
          - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
          - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `fingerprint` string: Uniquely identifies this particular card number
        - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
        - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
        - `ref_transaction` string: Id of a possible referenced transaction
        - `gw_id` string: Gateway id for card
        - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `exp_date` string: Card expire date on form MM-YY
        - `masked_card` string: Masked card number
        - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
        - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
        - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
        - `acquirer_code` string: Acquirer error code in case of error
        - `acquirer_message` string: Acquirer message in case of error
        - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
        - `text_on_statement` string: Resulting text on bank statement if known
        - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
        - `cardholder_name` string: Cardholder name if provided when entering credit card details
        - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
      - `mpo_transaction` CardTransaction: Specifics in case of GooglePay transaction
        - `card` Card: Saved card used for transaction. Only present if a saved card was used.
          - `id` string, required: Unique id for payment method
          - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
          - `customer` string, required: Customer by handle
          - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
          - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
          - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
          - `fingerprint` string: Uniquely identifies this particular card number
          - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
          - `gw_ref` string, required: Card gateway reference id
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
          - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
          - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
          - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `fingerprint` string: Uniquely identifies this particular card number
        - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
        - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
        - `ref_transaction` string: Id of a possible referenced transaction
        - `gw_id` string: Gateway id for card
        - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `exp_date` string: Card expire date on form MM-YY
        - `masked_card` string: Masked card number
        - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
        - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
        - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
        - `acquirer_code` string: Acquirer error code in case of error
        - `acquirer_message` string: Acquirer message in case of error
        - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
        - `text_on_statement` string: Resulting text on bank statement if known
        - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
        - `cardholder_name` string: Cardholder name if provided when entering credit card details
        - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
      - `vipps_transaction` CardTransaction: Specifics in case of GooglePay transaction
        - `card` Card: Saved card used for transaction. Only present if a saved card was used.
          - `id` string, required: Unique id for payment method
          - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
          - `customer` string, required: Customer by handle
          - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
          - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
          - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
          - `fingerprint` string: Uniquely identifies this particular card number
          - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
          - `gw_ref` string, required: Card gateway reference id
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
          - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
          - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
          - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `fingerprint` string: Uniquely identifies this particular card number
        - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
        - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
        - `ref_transaction` string: Id of a possible referenced transaction
        - `gw_id` string: Gateway id for card
        - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `exp_date` string: Card expire date on form MM-YY
        - `masked_card` string: Masked card number
        - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
        - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
        - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
        - `acquirer_code` string: Acquirer error code in case of error
        - `acquirer_message` string: Acquirer message in case of error
        - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
        - `text_on_statement` string: Resulting text on bank statement if known
        - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
        - `cardholder_name` string: Cardholder name if provided when entering credit card details
        - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
      - `applepay_transaction` CardTransaction: Specifics in case of GooglePay transaction
        - `card` Card: Saved card used for transaction. Only present if a saved card was used.
          - `id` string, required: Unique id for payment method
          - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
          - `customer` string, required: Customer by handle
          - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
          - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
          - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
          - `fingerprint` string: Uniquely identifies this particular card number
          - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
          - `gw_ref` string, required: Card gateway reference id
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
          - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
          - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
          - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `fingerprint` string: Uniquely identifies this particular card number
        - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
        - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
        - `ref_transaction` string: Id of a possible referenced transaction
        - `gw_id` string: Gateway id for card
        - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `exp_date` string: Card expire date on form MM-YY
        - `masked_card` string: Masked card number
        - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
        - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
        - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
        - `acquirer_code` string: Acquirer error code in case of error
        - `acquirer_message` string: Acquirer message in case of error
        - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
        - `text_on_statement` string: Resulting text on bank statement if known
        - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
        - `cardholder_name` string: Cardholder name if provided when entering credit card details
        - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
      - `googlepay_transaction` CardTransaction: Specifics in case of GooglePay transaction
        - `card` Card: Saved card used for transaction. Only present if a saved card was used.
          - `id` string, required: Unique id for payment method
          - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
          - `customer` string, required: Customer by handle
          - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
          - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
          - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
          - `fingerprint` string: Uniquely identifies this particular card number
          - `reactivated` string, date-time: Date and time of reactivation if the card has been reactivated from failed state. In ISO-8601 extended offset date-time format.
          - `gw_ref` string, required: Card gateway reference id
          - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Card type used in authentication and the card type used for subsequent MIT transactions. Will differ from `card_type` if co-branded card. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
          - `exp_date` string: Card expire date on form MM-YY
          - `masked_card` string: Masked card number
          - `last_success` string, date-time: Date and time of last successful use of the card. In ISO-8601 extended offset date-time format.
          - `last_failed` string, date-time: Date and time of last failed use of the card. In ISO-8601 extended offset date-time format.
          - `first_fail` string, date-time: Date and time of first successful use of the card. In ISO-8601 extended offset date-time format.
          - `error_code` string: An error code from the last failed use of the card. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
          - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state from last failed use of the card: `pending`, `soft_declined`, `hard_declined` or `processing_error`
          - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
          - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
          - `risk_rule` string: If this parameter is set the card has been flagged by Frisbii Risk Filter with a flag rule. Special attention may be required before using the card for recurring payments or subscription sign-up.
          - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `fingerprint` string: Uniquely identifies this particular card number
        - `provider` 'reepay' | 'aibms' | 'bambora' | 'barclays' | 'clearhaus' | 'cmcic' | 'credibanco' | 'cs' | 'elavon' | 'evry' | 'first_data' | 'handelsbanken' | 'hsbc' | 'nets' | 'shift4' | 'spreedly' | 'swedbank' | 'thailand_kbank' | 'valitor' | 'worldline' | 'worldpay' | 'test': Card acquirer or card payment gateway used if card source: `reepay`, `aibms`, `bambora`, `barclays`, `clearhaus`, `cmcic`, `credibanco`, `cs`, `elavon`, `evry`, `first_data`, `handelsbanken`, `hsbc`, `nets`, `shift4`, `spreedly`, `swedbank`, `thailand_kbank`, `valitor`, `worldline`, `worldpay`, `test`
        - `frictionless` boolean: If the transaction was exempted from a 3DS challenge
        - `ref_transaction` string: Id of a possible referenced transaction
        - `gw_id` string: Gateway id for card
        - `last_failed` string, date-time: When the card transaction last failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `first_failed` string, date-time: When the card transaction first failed, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay', required: Card type: `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `transaction_card_type` 'unknown' | 'visa' | 'mc' | 'dankort' | 'visa_dk' | 'ffk' | 'visa_elec' | 'maestro' | 'laser' | 'amex' | 'diners' | 'discover' | 'jcb' | 'china_union_pay': Transaction card type. Will differ from `card_type` if co-branded card. Transaction card type is the card type used for the transaction. `unknown`, `visa`, `mc`, `dankort`, `visa_dk`, `ffk`, `visa_elec`, `maestro`, `laser`, `amex`, `diners`, `discover`, `jcb` or `china_union_pay`
        - `exp_date` string: Card expire date on form MM-YY
        - `masked_card` string: Masked card number
        - `card_country` string: Card issuing country in [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
        - `strong_authentication_status` 'threed_secure' | 'threed_secure_not_enrolled' | 'secured_by_nets': Status for strong customer authentication: `threed_secure` - 3D Secure authenticated, `threed_secure_not_enrolled` - 3D Secure authentication not performed as card not enrolled, `secured_by_nets` - Secure by Nets authenticated
        - `three_d_secure_status` string: If 3D Secure authenticated the 3D status will either be `Y` (fully authenticated) or `A` (attempted authenticated). An attempted authentication means that card issuer (e.g. bank) does not support 3D Secure so no full authentication has been performed. Attempted authentication normally means liability shift, but this can differ between acquirers.
        - `risk_rule` string: If this parameter is set the transaction has either been flagged or declined by a Frisbii Risk Filter rule. For flag action rules the transaction can be successful, but may require special attention. For block action rules the decline error will be `risk_filter_block`.
        - `acquirer_code` string: Acquirer error code in case of error
        - `acquirer_message` string: Acquirer message in case of error
        - `acquirer_reference` string: Acquirer reference to transaction. E.g. Nets order id or Clearhaus reference.
        - `text_on_statement` string: Resulting text on bank statement if known
        - `surcharge_fee` integer: Potential card surcharge fee added to amount if surcharging enabled
        - `cardholder_name` string: Cardholder name if provided when entering credit card details
        - `ani_result` 'match' | 'partial_match' | 'no_match' | 'unverified' | 'not_supported': The result of the Account Name Inquiry (cardholder name verification) performed by the provider. Only relevant if cardholder name was provided and this transaction corresponds to a customer-initiated authorization or instant settle.
      - `manual_transaction` ManualTransaction: Specifics in case of manual transaction
        - `method` 'cash' | 'bank_transfer' | 'check' | 'chargeback' | 'other', required: The method used for the offline manual transaction, allowable values: `cash`, `bank_transfer`, `check`, `chargeback`, `other`
        - `comment` string: Optional comment for manual transaction
        - `reference` string: Optional reference for the manual transaction
        - `payment_date` string, date-time, required: When the manual transaction was performed on the form `yyyy-MM-dd`, `yyyyMMdd`, `yyyy-MM-ddTHH:mm` and `yyyy-MM-ddTHH:mm:ss`
      - `viabill_transaction` ViabillTransaction: Specifics in case of ViaBill transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `viabill_id` string: ViaBill id
      - `anyday_transaction` AnydayTransaction: Specifics in case of Anyday transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `anyday_id` string: Anyday id
      - `santander_transaction` SantanderTransaction: Specifics in case of Santander transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `santander_id` string: Santander id
      - `resurs_transaction` ResursTransaction: Specifics in case of Resurs Bank transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `resurs_id` string: Resurs id
      - `klarna_transaction` KlarnaTransaction: Specifics in case of Klarna transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `type` 'klarna' | 'klarna_pay_now' | 'klarna_pay_later' | 'klarna_slice_it' | 'klarna_direct_bank_transfer' | 'klarna_direct_debit', required: Transaction type: `klarna` - recurring Klarna mandate payment, `klarna_pay_now`, `klarna_pay_later`, `klarna_slice_it`, `klarna_direct_bank_transfer`, `klarna_direct_debit`
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `klarna_id` string: Klarna id
        - `klarna_mandate` KlarnaMandate: Klarna mandate used to initiate transaction when transaction is recurring
      - `swish_transaction` SwishTransaction: Specifics in case of Swish transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `swish_id` string: Swish id
      - `paypal_transaction` PaypalTransaction: Specifics in case of PayPal transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `email` string: Payer email
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `paypal_id` string: PayPal id
        - `paypal_mandate` PaypalMandate: PayPal mandate used to initiate transaction when transaction is recurring
          - `email` string: Payer email
          - `first_name` string: Payer first name
          - `last_name` string: Payer last name
          - `payer_id` string: PayPal payer id
          - `phone_number` string: Payer phone number
        - `first_name` string: Payer first name
        - `last_name` string: Payer last name
        - `payer_id` string: PayPal payer id
        - `phone_number` string: Payer phone number
      - `bancontact_transaction` BancontactTransaction: Specifics in case of Bancontact transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `bancontact_id` string: Bancontact id
      - `blik_transaction` BlikTransaction: Specifics in case of BLIK transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `blik_id` string: Blik id
      - `giropay_transaction` GiropayTransaction: Specifics in case of Giropay transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `giropay_id` string: Giropay id
      - `ideal_transaction` IdealTransaction: Specifics in case of IDEAL transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `ideal_id` string: Ideal id
      - `p24_transaction` P24Transaction: Specifics in case of P24 transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `p24_id` string: P24 id
      - `sepa_transaction` SepaTransaction: Specifics in case of SEPA transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `sepa_id` string: SEPA id
        - `sepa_mandate` SepaMandate: SEPA Mandate
          - `iban` string: Mandate IBAN
          - `sepa_mandate_bank_reference` string, required: Bank reference
      - `trustly_transaction` TrustlyTransaction: Specifics in case of Trustly transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `trustly_id` string: Trustly id
      - `verkkopankki_transaction` VerkkopankkiTransaction: Specifics in case of Verkkopankki transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `verkkopankki_id` string: VerkkopankkiTransaction id
      - `eps_transaction` EpsTransaction: Specifics in case of Eps transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `eps_id` string: Eps id
      - `estonia_banks_transaction` EstoniaBanksTransaction: Specifics in case of Estonia Banks transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `estonia_banks_id` string: Estonia Banks id
      - `latvia_banks_transaction` LatviaBanksTransaction: Specifics in case of Latvia Banks transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `latvia_banks_id` string: Latvia Banks id
      - `lithuania_banks_transaction` LithuaniaBanksTransaction: Specifics in case of Lithuania Banks transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `lithuania_banks_id` string: Lithuania Banks id
      - `mbway_transaction` MbwayTransaction: Specifics in case of MB Way transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `mb_way_id` string: MB Way id
      - `multibanco_transaction` MultibancoTransaction: Specifics in case of Multibanco transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `multibanco_id` string: Multibanco id
      - `mybank_transaction` MybankTransaction: Specifics in case of MyBank transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `mybank_id` string: MyBank id
      - `payconiq_transaction` PayconiqTransaction: Specifics in case of Payconiq transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `payconiq_id` string: Payconiq id
      - `paysafecard_transaction` PaysafecardTransaction: Specifics in case of Paysafecard transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `paysafecard_id` string: Paysafecard id
      - `paysera_transaction` PayseraTransaction: Specifics in case of Paysera transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `paysera_id` string: Paysera id
      - `postfinance_transaction` PostfinanceTransaction: Specifics in case of PostFinance transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `postfinance_id` string: PostFinance id
      - `satispay_transaction` SatispayTransaction: Specifics in case of Satispay transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `satispay_id` string: Satispay id
      - `wechatpay_transaction` WeChatPayTransaction: Specifics in case of WeChat Pay transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `wechatpay_id` string: WeChat Pay id
      - `mps_transaction` MpsTransaction: Specifics in case of MobilePay Subscriptions transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `mps_id` string, required: MobilePay Subscriptions id
        - `mps_subscription` MpsSubscription, required: MobilePay Subscriptions agreement
          - `id` string, required: Unique id for payment method
          - `state` 'active' | 'inactivated' | 'failed' | 'pending' | 'deleted', required: State of the payment method: `active`, `inactivated`, `failed`, `pending` or `deleted`
          - `customer` string, required: Customer by handle
          - `reference` string: Optional reference provided when creating the payment method. For payment methods created with Frisbii Checkout the reference will correspond to the session id for the Checkout session that created the payment method.
          - `failed` string, date-time: Date when the payment method failed. In ISO-8601 extended offset date-time format.
          - `created` string, date-time, required: Date when the payment method was created. In ISO-8601 extended offset date-time format.
          - `external_id` string: Optional external id at MobilePay defined when creating the subscription
        - `mps_payment_type` 'regular' | 'one_off_cit' | 'one_off_mit', required: MobilePay Subscriptions payment type: `regular`, `one_off_cit` (customer initiated), `one_off_mit` (merchant initiated auto reserve)
      - `vipps_recurring_transaction` VippsRecurringTransaction: Specifics in case of Vipps Recurring transaction
        - `error` string: Error code if failed. See [transaction errors](https://docs.frisbii.com/reference/transaction_errors).
        - `ref_transaction` string: Id of a possible referenced transaction
        - `error_state` 'pending' | 'soft_declined' | 'hard_declined' | 'processing_error': Error state if failed: `pending`, `soft_declined`, `hard_declined` or `processing_error`
        - `acquirer_message` string: Acquirer message in case of error
        - `vipps_recurring_id` string, required: Vipps Recurring id
        - `vipps_recurring_mandate` VippsRecurringMandate, required: Vipps Recurring mandate
      - `payment_context` string: Payment context describing if the transaction is customer or merchant initiated, one of the following values: `cit`, `mit`, `cit_cof`
    - `credit_notes` InvoiceCreditNote[]: Invoice credit notes
      - `id` string, required: Credit note id
      - `invoice` string, required: Invoice credited by this note
      - `transaction` string: Refund transaction id if credit note has an associated refund
      - `credit` string: Credit reference if the credit note relates to a subscription credit
      - `amount` integer, required: Credit note amount
      - `created` string, date-time, required: Creation date for note, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `currency` string, required: Credit note currency in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three letter alpha code
      - `customer` string, required: Customer handle
      - `subscription` string: Subscription handle, will be null for a one-time customer invoice
      - `amount_vat` integer, required: Credit note vat amount calculated as rounded summed fractional vats for each credit note lines
      - `amount_ex_vat` integer: Credit note total amount excluding VAT calculated as summed amounts excl. vats for each credit note lines
      - `credit_note_lines` CreditNoteLine[], required: Credit note lines
        - `amount` integer, required: Credit note line total amount
        - `text` string, required: Credit note line text
        - `description` string: Order line description
        - `quantity` integer, required: Credit note line quantity
        - `vat` number, float: Vat for this credit note line
        - `created` string, date-time: Creation date for this credit note line, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `origin` 'plan' | 'add_on' | 'ondemand' | 'additional_cost' | 'credit' | 'discount' | 'setup_fee' | 'surcharge_fee' | 'metered_billing_product': Order line origin, one of the following: `plan`, `add_on`, `ondemand`, `additional_cost`, `credit`, `discount`, `setup_fee`, `surcharge_fee`, `metered_billing_product`
        - `order_line_id` string: Reference to invoice orderline this credit note line relates to
        - `amount_incl_vat` integer: Credit note line total amount including VAT
        - `amount_ex_vat` integer: Credit note line total amount excluding VAT
        - `unit_amount` integer: Credit note line unit amount
        - `unit_amount_vat` integer: Credit note line vat amount
        - `unit_amount_ex_vat` integer: Credit note line unit amount excluding VAT
        - `amount_incl_vat_defined` boolean: Whether the total and units are including VAT.
        - `period_from` string, date-time: The start of billing period in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `period_to` string, date-time: The end of billing period in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
        - `cost_object` string: Cost object number (Kostenträger-Nr.) this line is booked to
      - `accounting_number` string: Credit note accounting number
      - `debtor_id` integer: Customer debtor id
      - `download_url` string: Link to the credit note PDF, available if PDF generation and accounting features are enabled (only for subscription invoices, not charges). Access requires authentication. See https://docs.frisbii.com/reference/authentication. The response is a binary PDF file.
      - `accounting_created_date` string, date-time: When the credit note was created. A credit note is created when a non-charging invoice is cancelled or refunded. Timestamp in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
      - `cost_center` string: Cost center for accounting purposes
      - `po_number` string: Purchase order number for accounting purposes
      - `sales_rep_id` string: Sales representative identifier
      - `order_id` string: Order identifier
      - `invoice_file_type` 'pdf' | 'pdf_xml': The type of invoice file, e.g. `pdf`
    - `dunning_start` string, date-time: When dunning for the invoice was started, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `dunning_count` integer: Number of dunning events for invoice (number of reminders sent)
    - `dunning_expired` string, date-time: When dunning for the invoice expired, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `period_from` string, date-time: The start of billing period if the invoice is for a specific billing period, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `period_to` string, date-time: The end of billing period if the invoice is for a specific billing period, in [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) extended offset date-time format.
    - `settle_later` boolean: Whether this is a customer one-time invoice that will be settled later
    - `settle_later_payment_method` string: The payment method to use for a later settle of a one-time customer invoice
    - `billing_address` InvoiceBillingAddress: Optional billing address
      - `company` string: Company name
      - `vat` string: Company vat number
      - `attention` string: Attention
      - `address` string: Address line 1
      - `address2` string: Address line 2
      - `city` string: City
      - `country` string: Country in ISO 3166-1 alpha-2
      - `email` string: Email
      - `phone` string: Phone number
      - `first_name` string: First name
      - `last_name` string: Last name
      - `postal_code` string: Postal code
      - `state_or_province` string: State or province. Should be in country subdivision code defined in ISO 3166-2.
    - `shipping_address` InvoiceShippingAddress: Optional shipping address
      - `company` string: Company name
      - `vat` string: Company vat number
      - `attention` string: Attention
      - `address` string: Address line 1
      - `address2` string: Address line 2
      - `city` string: City
      - `country` string: Country in ISO 3166-1 alpha-2
      - `email` string: Email
      - `phone` string: Phone number
      - `first_name` string: First name
      - `last_name` string: Last name
      - `postal_code` string: Postal code
      - `state_or_province` string: State or province. Should be in country subdivision code defined in ISO 3166-2.
    - `accounting_number` string: Accounting number
    - `download_url` string: Url to invoice pdf

## Other responses

- `400`: Invalid request, see error codes at https://api.frisbii.com/v1/error_codes
- `401`: None or invalid credentials provided in access to secured resource
- `403`: Not authorized to perform resource operation
- `404`: Resource or referenced resource not found, see error codes at https://api.frisbii.com/v1/error_codes
- `429`: Request limiting exceeded, request rate or concurrent requests, see error code 122 and 123
- `500`: Internal service error, error is reported automatically to Frisbii

---

[API](https://skmtc.dev/frisbii/apis/frisbii-customer-portal-api.md) - [All operations](https://skmtc.dev/frisbii/apis/frisbii-customer-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frisbii/apis/frisbii-customer-portal-api/revisions/f0261fb63b1b?raw)
