---
updatedAt: 2026-09-23T13:19:59.000Z
agentTools:
  projectIndex: https://docs.pci-proxy.com/llms.txt
---

# Checking the status of a transaction

The API endpoint status can be used to check the status of any transaction, see its history, and retrieve the card information.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "PCI Proxy API Reference (Datatrans Endpoints)",
    "description": "OpenAPI Spec containing Datatrans endpoints for PCI Proxy customers",
    "contact": {
      "url": "https://docs.pci-proxy.com",
      "email": "support@pci-proxy.com"
    },
    "version": "${json.api.version}"
  },
  "servers": [
    {
      "url": "https://api.sandbox.datatrans.com",
      "description": "Sandbox"
    },
    {
      "url": "https://api.datatrans.com",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "/v1/transactions"
    }
  ],
  "paths": {
    "/v1/transactions/{transactionId}": {
      "get": {
        "tags": [
          "/v1/transactions"
        ],
        "summary": "Checking the status of a transaction",
        "description": "The API endpoint status can be used to check the status of any transaction, see its history, and retrieve the card information.",
        "operationId": "status",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "description": "The transactionId received after an authorization.",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Status of a transaction",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusResponse"
                },
                "examples": {
                  "statusResponse": {
                    "description": "statusResponse",
                    "value": {
                      "transactionId": "261005112247363871",
                      "merchantId": "1000001111",
                      "type": "payment",
                      "status": "authorized",
                      "currency": "CHF",
                      "refno": "HuZZB1NqU",
                      "paymentMethod": "VIS",
                      "detail": {
                        "authorize": {
                          "amount": 1000,
                          "acquirerAuthorizationCode": "112247"
                        }
                      },
                      "card": {
                        "masked": "424242xxxxxx4242",
                        "expiryMonth": "06",
                        "expiryYear": "28",
                        "info": {
                          "brand": "VISA CREDIT",
                          "type": "credit",
                          "usage": "consumer",
                          "country": "GB",
                          "issuer": "DATATRANS"
                        }
                      },
                      "history": [
                        {
                          "action": "authorize",
                          "amount": 1000,
                          "source": "api",
                          "date": "2026-10-05T09:22:47Z",
                          "success": true,
                          "ip": "82.197.183.193"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionsResponseBase"
                },
                "examples": {
                  "statusErrorResponse": {
                    "description": "statusErrorResponse",
                    "value": {
                      "error": {
                        "code": "INVALID_PROPERTY",
                        "message": "status transactionId length must be 18 digits"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": []
          }
        ],
        "x-codeSamples": [
          {
            "label": "curl",
            "source": "curl -i -X GET https://api.sandbox.datatrans.com/v1/transactions/261005112247363871 \n\t--user {merchantId}:{password} \n",
            "lang": "shell"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CardInfo": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "string",
            "description": "The brand of the credit card (e.g. VISA CREDIT)."
          },
          "coBrand": {
            "type": "string",
            "description": "The coBrand of the card"
          },
          "type": {
            "type": "string",
            "description": "The type of the card (`credit`, `debit` or `prepaid`). The property will not be present if the card type is unknown."
          },
          "usage": {
            "type": "string",
            "description": "The usage of the card (`consumer`, `corporate` or `unknown`)."
          },
          "country": {
            "type": "string",
            "description": "2 letter ISO 3166-1 alpha-2 country code."
          },
          "issuer": {
            "type": "string",
            "description": "The issuer of the card."
          },
          "accountType": {
            "type": "string",
            "enum": [
              "PAN",
              "TOKEN"
            ]
          },
          "binLength": {
            "type": "integer",
            "description": "The bin length, if known.",
            "format": "int32"
          }
        },
        "description": "The card information if the request was done with a card object"
      },
      "ClickToPay": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "The plain card token (DPAN) stored in the alias."
          },
          "expiryMonth": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry month of the token."
          },
          "expiryYear": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry year of the token."
          },
          "paymentAccountReference": {
            "type": "string",
            "description": "The Payment Account Reference (PAR) associated with the Click to Pay alias."
          }
        },
        "description": "Click to Pay data, if the alias originates from a Click to Pay transaction."
      },
      "NetworkTokenError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "SERVICE_NOT_ALLOWED",
              "TOKEN_PROVIDER_UNAVAILABLE",
              "MISSING_FIELD",
              "DECLINED",
              "REQUIRE_ADDITIONAL_AUTHENTICATION",
              "WAITING_ACTIVATION",
              "INTERNAL_ERROR",
              "UNKNOWN_ERROR"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      },
      "Passkey": {
        "type": "object",
        "properties": {
          "eci": {
            "type": "string",
            "description": "The Electronic Commerce Indicator (ECI) for the Passkeys authentication."
          },
          "cryptogram": {
            "type": "string",
            "description": "The cryptogram for the Passkeys (FIDO2) authentication."
          }
        },
        "description": "Passkeys (FIDO2) authentication data if available."
      },
      "TokenInfo": {
        "type": "object",
        "properties": {
          "expiryMonth": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry month of the scheme token."
          },
          "expiryYear": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry year of the scheme token."
          },
          "status": {
            "type": "string",
            "description": "The status of the scheme token",
            "enum": [
              "INACTIVE",
              "ACTIVE",
              "SUSPENDED",
              "DELETED",
              "PENDING",
              "FAILED"
            ]
          },
          "paymentAccountReference": {
            "maxLength": 29,
            "minLength": 0,
            "type": "string",
            "description": "The Payment Account Reference of the scheme token",
            "example": "5001a9f027e5629d11e3949a0800a"
          },
          "tokenRequestorId": {
            "type": "string",
            "description": "The token requestor id"
          },
          "token": {
            "type": "string",
            "description": "Scheme token"
          },
          "reason": {
            "$ref": "#/components/schemas/NetworkTokenError"
          }
        },
        "description": "Scheme token details. This information is only available if the card behind the alias has been tokenized."
      },
      "TransactionsError": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/TransactionsErrorCode"
          },
          "message": {
            "type": "string",
            "description": "A human readable message indicating what went wrong."
          }
        }
      },
      "TransactionsErrorCode": {
        "type": "string",
        "enum": [
          "INVALID_SETUP",
          "EXPIRED_CARD",
          "CLIENT_ERROR",
          "INVALID_TRANSACTION_STATUS",
          "REFERRAL",
          "CONCURRENT_LIMIT_REACHED",
          "ROUTING_NOT_FOUND",
          "BLOCKED_CARD",
          "INVALID_CVV",
          "UNKNOWN_ERROR",
          "UNRECOGNIZED_PROPERTY",
          "SERVER_ERROR",
          "UNAUTHORIZED",
          "NOT_SUPPORTED_BY_THIRD_PARTY",
          "PAYMENT_REFERENCE_ID_EXIST",
          "ROUTING_NOT_CONFIGURED",
          "BLOCKED_BY_VELOCITY_CHECKER",
          "ROUTING_LOOKUP_FAILED",
          "NOT_FOUND",
          "THIRD_PARTY_ERROR",
          "INVALID_JSON_PAYLOAD",
          "INVALID_SIGN",
          "UNSUPPORTED_CARD",
          "DECLINED",
          "FORBIDDEN",
          "INVALID_ALIAS",
          "INVALID_STATE",
          "UNSUPPORTED_PAYMENT_METHOD",
          "INVALID_PROPERTY",
          "INVALID_HEADER",
          "SOFT_DECLINED",
          "REQUEST_ID_EXIST",
          "DUPLICATE_REFNO",
          "TRANSACTION_NOT_FOUND",
          "INVALID_CARD"
        ]
      },
      "TransactionsResponseBase": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/TransactionsError"
          }
        }
      },
      "Accertify": {
        "type": "object",
        "description": "Accertify decision (Accepted, Review, Declined"
      },
      "Metadata": {
        "type": "object",
        "properties": {
          "userData1": {
            "maxLength": 40,
            "minLength": 0,
            "type": "string",
            "description": "Merchant description 1"
          },
          "userData2": {
            "maxLength": 40,
            "minLength": 0,
            "type": "string",
            "description": "Merchant description 2"
          },
          "userData3": {
            "maxLength": 40,
            "minLength": 0,
            "type": "string",
            "description": "Customer description 1"
          },
          "userData4": {
            "maxLength": 40,
            "minLength": 0,
            "type": "string",
            "description": "Customer description 2"
          }
        },
        "description": "Merchant reference data"
      },
      "EMVCo3DAuthenticationDataStatusResponse": {
        "type": "object",
        "properties": {
          "eci": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The Electronic Commerce Indicator",
            "enum": [
              "01",
              "02",
              "05",
              "06",
              "07"
            ]
          },
          "xid": {
            "type": "string",
            "description": "The transaction ID returned by the directory server"
          },
          "dsTransId": {
            "type": "string",
            "description": "The transaction ID returned by the directory server"
          },
          "threeDSTransactionId": {
            "type": "string",
            "description": "The transaction ID returned by the 3D Secure Provider"
          },
          "cavv": {
            "type": "string",
            "description": "The Cardholder Authentication Verification Value"
          },
          "threeDSVersion": {
            "type": "string",
            "description": "The 3D version"
          },
          "cavvAlgorithm": {
            "type": "string",
            "description": "The 3D algorithm"
          },
          "directoryResponse": {
            "maxLength": 1,
            "minLength": 1,
            "type": "string",
            "description": "Transaction status after `ARes`\n\n|Value|3Dv1|3Dv2|\n|:---|:---|:---|\n|Y| enrolled| authenticated|\n|N| not enrolled| authentication failed|\n|U| not available| not available|\n|C| |challenge needed|\n|R| |rejected|\n|A| |authentication attempt|\n\n",
            "enum": [
              "Y",
              "N",
              "U",
              "C",
              "R",
              "A"
            ]
          },
          "authenticationResponse": {
            "maxLength": 1,
            "minLength": 1,
            "type": "string",
            "description": "Transaction status after `RReq` (Challenge flow)\n\n|Value|3Dv1|3Dv2|\n|:---|:---|:---|\n|Y| authenticated| authenticated|\n|N| authentication failed| authentication failed|\n|U| not available| not available|\n|A| authentication attempt| authentication attempt|\n|C| process incomplete| process incomplete|\n|R| |authentication/account verification rejected|\n|I| |informational only|\n|D| not enrolled| |\n\n",
            "enum": [
              "Y",
              "N",
              "U",
              "A",
              "C",
              "R",
              "I",
              "D"
            ]
          },
          "transStatusReason": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "Transaction status reason\n\n|Value|Description|\n|:---|:---|\n|01| Card authentication failed|\n|02| Unknown Device|\n|03| Unsupported Device|\n|04| Exceeds authentication frequency limit|\n|05| Expired card|\n|06| Invalid card number|\n|07| Invalid transaction|\n|08| No Card record|\n|09| Security failure|\n|10| Stolen card|\n|11| Suspected fraud|\n|12| Transaction not permitted to cardholder|\n|13| Cardholder not enrolled in service|\n|14| Transaction timed out at the ACS|\n|15| Low confidence|\n|16| Medium confidence|\n|17| High confidence|\n|18| Very High confidence|\n|19| Exceeds ACS maximum challenges|\n|20| Non-Payment transaction not supported|\n|21| 3RI transaction not supported|\n|22| ACS technical issue|\n|23| Decoupled Authentication required by ACS but not requested by 3DS Requestor|\n|24| 3DS Requestor Decoupled Max Expiry Time exceeded|\n|25| Decoupled Authentication was provided insufficient time to authenticate cardholder. ACS will not make attempt|\n|26| Authentication attempted but not performed by the cardholder|\n|27–79| Reserved for EMVCo future use (values invalid until defined by EMVCo)|\n|80–99 | Reserved for DS use|\n"
          },
          "cbAvalgo": {
            "type": "string"
          },
          "cbScore": {
            "type": "string"
          },
          "cbExemption": {
            "type": "string"
          },
          "cardHolderInfo": {
            "type": "string",
            "description": "Text provided by the ACS/Issuer to Cardholder during a transaction that was not authenticated by the ACS. The Issuer can optionally provide information to Cardholder. For example, \"Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.\""
          }
        },
        "description": "3D authentication data, if available"
      },
      "AccountFundingTransaction": {
        "type": "object",
        "properties": {
          "dataVersionNumber": {
            "maxLength": 4,
            "minLength": 0,
            "type": "string"
          },
          "generalData": {
            "$ref": "#/components/schemas/GeneralData"
          },
          "senderData": {
            "$ref": "#/components/schemas/SenderData"
          },
          "receiverData": {
            "$ref": "#/components/schemas/ReceiverData"
          }
        },
        "description": "Account Funding Transaction details"
      },
      "Action": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "description": "The action performed.",
            "enum": [
              "init",
              "authenticate",
              "authorize",
              "settle",
              "credit",
              "cancel",
              "change_details"
            ]
          },
          "autoSettle": {
            "type": "boolean",
            "description": "Indicates if auto settlement was used. Only applicable if action was `authorize`"
          },
          "requestId": {
            "type": "string",
            "description": "Planet wide transaction Id per action.",
            "format": "uuid"
          },
          "amount": {
            "type": "integer",
            "description": "The amount used.",
            "format": "int64"
          },
          "source": {
            "type": "string",
            "description": "From where the action originated.",
            "enum": [
              "admin",
              "amadeus",
              "ajax",
              "android",
              "api",
              "inline",
              "ios",
              "lightbox",
              "link",
              "redirect",
              "secure_fields",
              "system",
              "web",
              "web_hidden",
              "unknown"
            ]
          },
          "date": {
            "type": "string",
            "description": "Date when the action was performed.",
            "format": "date-time"
          },
          "success": {
            "type": "boolean",
            "description": "Whether the action was successful or not."
          },
          "marketplace": {
            "$ref": "#/components/schemas/MarketPlace"
          },
          "ip": {
            "type": "string",
            "description": "The IP address from where the action originated from."
          }
        }
      },
      "AuthorizeDetail": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer",
            "description": "The authorization amount.",
            "format": "int64"
          },
          "acquirerAuthorizationCode": {
            "type": "string",
            "description": "The authorization code returned by the acquirer or payment method provider."
          }
        }
      },
      "Avs": {
        "required": [
          "result"
        ],
        "type": "object",
        "properties": {
          "result": {
            "type": "string",
            "description": "The result of the address verification. It is the exact same resultas returned from the acquirer. Be aware that different acquirers can returnresult codes."
          }
        },
        "description": "Address Verification Service Response properties."
      },
      "BankAccountDetails": {
        "type": "object",
        "properties": {
          "holderName": {
            "type": "string",
            "description": "The account holder name."
          },
          "iban": {
            "type": "string",
            "description": "The IBAN of the bank account."
          },
          "bic": {
            "type": "string",
            "description": "The BIC of the bank."
          },
          "accountNumber": {
            "type": "string",
            "description": "The account number."
          },
          "bankCode": {
            "type": "string",
            "description": "The bank code."
          },
          "bankName": {
            "type": "string",
            "description": "The bank name."
          }
        },
        "description": "The customer's bank account details, if available."
      },
      "ByjunoDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          }
        },
        "description": "If INT was used for a transaction the object holds all Byjuno relevant properties."
      },
      "CDMResponse": {
        "type": "object",
        "description": "The response of the cybersource decision manager."
      },
      "CancelDetail": {
        "type": "object",
        "properties": {
          "reversal": {
            "type": "boolean",
            "description": "Whether the transaction was reversed on acquirer side."
          }
        }
      },
      "CardOnFileStatus": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The card on file Id if manual card on file enrollment was specified in the initialize request (`init.card.cardOnFile.enroll`)."
          }
        },
        "description": "Card On File (COF) parameters. COF usually is handled by Datatrans aliases. This feature is only for specific use cases where the Datatrans alias solution cannot be used.\nThis feature needs to be enabled on the merchant configuration by Datatrans."
      },
      "CreditDetail": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer",
            "description": "The credit amount.",
            "format": "int64"
          }
        }
      },
      "Creditor": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "xml": {
              "name": "Name"
            }
          },
          "addressLine1": {
            "type": "string",
            "xml": {
              "name": "AddressLine1"
            }
          },
          "addressLine2": {
            "type": "string",
            "xml": {
              "name": "AddressLine2"
            }
          },
          "street": {
            "type": "string",
            "xml": {
              "name": "Street"
            }
          },
          "postalcode": {
            "type": "string",
            "xml": {
              "name": "PostalCode"
            }
          },
          "town": {
            "type": "string",
            "xml": {
              "name": "Town"
            }
          },
          "country": {
            "type": "string",
            "xml": {
              "name": "Country"
            }
          }
        }
      },
      "CreditorInformation": {
        "type": "object",
        "properties": {
          "iban": {
            "type": "string",
            "xml": {
              "name": "IBAN"
            }
          },
          "creditor": {
            "$ref": "#/components/schemas/Creditor"
          }
        }
      },
      "Customer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique customer identifier."
          },
          "title": {
            "type": "string",
            "description": "The title of the customer. For example: `Mr`, `Mrs`, etc."
          },
          "name": {
            "type": "string",
            "description": "The full name of the customer."
          },
          "firstName": {
            "type": "string",
            "description": "The first name of the customer."
          },
          "lastName": {
            "type": "string",
            "description": "The last name of the customer."
          },
          "street": {
            "type": "string",
            "description": "The street of the customer."
          },
          "street2": {
            "type": "string",
            "description": "Additional street information."
          },
          "city": {
            "type": "string",
            "description": "The city of the customer."
          },
          "country": {
            "type": "string",
            "description": "2 letter ISO 3166-1 alpha-2 country code"
          },
          "zipCode": {
            "type": "string",
            "description": "Zip code of the customer."
          },
          "phone": {
            "type": "string",
            "description": "Phone number of the customer."
          },
          "email": {
            "type": "string",
            "description": "The email of the customer."
          },
          "gender": {
            "type": "string",
            "description": "Gender of the customer."
          },
          "birthDate": {
            "type": "string",
            "description": "The birth date of the customer."
          },
          "type": {
            "type": "string",
            "description": "Customer type. `P` or `C` depending on whether the customer is private or a company."
          },
          "bankAccountDetails": {
            "$ref": "#/components/schemas/BankAccountDetails"
          }
        },
        "description": "Customer details. Returned only if collected by the payment page or wallet flow. Setup dependent."
      },
      "Dcc": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "description": "The DCC currency"
          },
          "amount": {
            "type": "integer",
            "description": "The DCC amount",
            "format": "int64"
          },
          "rate": {
            "type": "number",
            "description": "The DCC rate",
            "format": "double"
          },
          "markup": {
            "type": "number",
            "description": "The DCC markup",
            "format": "double"
          }
        },
        "description": "DCC (Dynamic Currency Conversion) data if available."
      },
      "Detail": {
        "type": "object",
        "properties": {
          "init": {
            "$ref": "#/components/schemas/InitDetail"
          },
          "authorize": {
            "$ref": "#/components/schemas/AuthorizeDetail"
          },
          "settle": {
            "$ref": "#/components/schemas/SettleDetail"
          },
          "credit": {
            "$ref": "#/components/schemas/CreditDetail"
          },
          "cancel": {
            "$ref": "#/components/schemas/CancelDetail"
          },
          "fail": {
            "$ref": "#/components/schemas/FailDetail"
          }
        },
        "description": "Details about the various action steps of the transaction."
      },
      "DimocoDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The requested alias.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          }
        },
        "description": "If DMO was used for a transaction the object holds all Dimoco relevant properties."
      },
      "ElvDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "mandateId": {
            "type": "string",
            "description": "The mandate it which was passed in the init request if available."
          },
          "iban": {
            "type": "string",
            "description": "The used IBAN."
          }
        },
        "description": "If ELV was used for a transaction the object holds all ELV relevant properties."
      },
      "Ep2": {
        "type": "object",
        "properties": {
          "trmID": {
            "type": "string",
            "description": "The terminal ID"
          },
          "trxSeqCnt": {
            "type": "string",
            "description": "The transaction Sequence Count"
          },
          "aid": {
            "type": "string",
            "description": "The application Identifier"
          },
          "amtAuth": {
            "type": "string",
            "description": "The authorized amount"
          },
          "trxDate": {
            "type": "string",
            "description": "The date of the processing"
          },
          "trxTime": {
            "type": "string",
            "description": "The time of the processing"
          },
          "pan": {
            "type": "string",
            "description": "The PAN"
          },
          "appPanEnc": {
            "type": "string",
            "description": "The encrypted cardholder account number"
          },
          "issuerCode": {
            "type": "string",
            "description": "The issuer code"
          },
          "actSeqCnt": {
            "type": "integer",
            "description": "The activation sequence count",
            "format": "int32"
          },
          "trxRefNum": {
            "type": "string",
            "description": "The transaction reference number"
          },
          "trxTypeExt": {
            "type": "string",
            "description": "The transaction type extension"
          },
          "brand": {
            "type": "string",
            "description": "The brand"
          },
          "authCode": {
            "type": "string",
            "description": "The authorization code"
          },
          "staticKeyIndex": {
            "type": "string",
            "description": "The static key index"
          },
          "trxCurrC": {
            "type": "string",
            "description": "The transaction currency code"
          }
        },
        "description": "EP2 data if available."
      },
      "EsrData": {
        "type": "object",
        "properties": {
          "bankName": {
            "type": "string",
            "xml": {
              "name": "BankName"
            }
          },
          "bankAddress": {
            "type": "string",
            "xml": {
              "name": "BankAddress"
            }
          },
          "beneficiaryFirstLine": {
            "type": "string",
            "xml": {
              "name": "BeneficiaryFirstLine"
            }
          },
          "beneficiarySecondLine": {
            "type": "string",
            "xml": {
              "name": "BeneficiarySecondLine"
            }
          },
          "beneficiaryThirdLine": {
            "type": "string",
            "xml": {
              "name": "BeneficiaryThirdLine"
            }
          },
          "beneficiaryFourthLine": {
            "type": "string",
            "xml": {
              "name": "BeneficiaryFourthLine"
            }
          },
          "bankAccount": {
            "type": "string",
            "xml": {
              "name": "BankAccount"
            }
          },
          "payerFirstLine": {
            "type": "string",
            "xml": {
              "name": "PayerFirstLine"
            }
          },
          "payerSecondLine": {
            "type": "string",
            "xml": {
              "name": "PayerSecondLine"
            }
          },
          "payerThirdLine": {
            "type": "string",
            "xml": {
              "name": "PayerThirdLine"
            }
          },
          "payerFourthLine": {
            "type": "string",
            "xml": {
              "name": "PayerFourthLine"
            }
          },
          "referenceLine1": {
            "type": "string",
            "xml": {
              "name": "ReferenceLine1"
            }
          },
          "referenceLine2": {
            "type": "string",
            "xml": {
              "name": "ReferenceLine2"
            }
          }
        },
        "description": "Bank account details returned if `invoiceOnDelivery` was set in the init request."
      },
      "FailDetail": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "The failure reason if an error occurred.",
            "enum": [
              "card_blocked",
              "card_invalid",
              "declined",
              "soft_declined",
              "incomplete",
              "timeout",
              "invalid_setup",
              "secure_authentication",
              "error_on_start",
              "referral",
              "error"
            ]
          },
          "message": {
            "type": "string",
            "description": "A detailed message describing the occurred error."
          }
        }
      },
      "GeneralData": {
        "type": "object",
        "properties": {
          "paymentTrxInd": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "uniqueRefNo": {
            "maxLength": 19,
            "minLength": 0,
            "type": "string"
          },
          "trxSubtype": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "businessContext": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "purposeOfPayment": {
            "maxLength": 12,
            "minLength": 0,
            "type": "string"
          }
        }
      },
      "InitDetail": {
        "type": "object",
        "properties": {
          "expires": {
            "type": "string",
            "description": "Tells when the initialized transaction will expire if not continued - 30 minutes after initialization.",
            "format": "date-time"
          }
        }
      },
      "Installments": {
        "type": "object",
        "properties": {
          "numInstallments": {
            "type": "integer",
            "description": "The number of installments",
            "format": "int32"
          },
          "frequency": {
            "type": "string",
            "description": "The installment frequency. For example: `MONTHLY` or `WEEKLY` etc."
          },
          "installmentAmount": {
            "type": "integer",
            "format": "int64"
          },
          "installmentFee": {
            "type": "integer",
            "format": "int64"
          },
          "installmentTotal": {
            "type": "integer",
            "format": "int64"
          },
          "totalAmount": {
            "type": "integer",
            "format": "int64"
          },
          "totalFees": {
            "type": "integer",
            "format": "int64"
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "apr": {
            "type": "integer",
            "description": "The APR (Annual Percentage Rate) for the installments, returned in basis points. To obtain the percentage value, divide by 100 (e.g., 250 → 2.5%). This is the annual interest rate applied to the installments.",
            "format": "int32"
          },
          "terms": {
            "$ref": "#/components/schemas/InstallmentsTerms"
          }
        },
        "description": "Installments data if available."
      },
      "InstallmentsTerms": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Text with the Terms and Conditions of the Installment"
          },
          "url": {
            "type": "string",
            "description": "URL to the Terms and Conditions of the Installment"
          }
        }
      },
      "KlarnaDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "subtype": {
            "type": "string",
            "description": "The Klarna payment subtype. For example 'invoice' or 'direct_bank_transfer' etc."
          }
        },
        "description": "If KLN was used for a transaction the object holds all Klarna relevant properties."
      },
      "MDPDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          }
        },
        "description": "If MDP was used for a transaction the object holds all MDP relevant properties."
      },
      "MFGDetail": {
        "type": "object",
        "properties": {
          "esr": {
            "$ref": "#/components/schemas/EsrData"
          },
          "qrData": {
            "$ref": "#/components/schemas/QrData"
          }
        },
        "description": "If MFG was used for a transaction the object holds all MFG relevant properties."
      },
      "MFXDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "esr": {
            "$ref": "#/components/schemas/EsrData"
          },
          "qrData": {
            "$ref": "#/components/schemas/QrData"
          }
        },
        "description": "If MFX was used for a transaction the object holds all MFX relevant properties."
      },
      "MPGDetail": {
        "type": "object",
        "properties": {
          "paycardNumber": {
            "type": "string",
            "description": "the paycardNumber if available"
          },
          "qrData": {
            "$ref": "#/components/schemas/QrData"
          },
          "esr": {
            "$ref": "#/components/schemas/EsrData"
          }
        },
        "description": "If MPG was used for a transaction the object holds all MPG relevant properties."
      },
      "MPXDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "paycardNumber": {
            "type": "string",
            "description": "the paycardNumber if available"
          },
          "esr": {
            "$ref": "#/components/schemas/EsrData"
          },
          "qrData": {
            "$ref": "#/components/schemas/QrData"
          }
        },
        "description": "If MPX was used for a transaction the object holds all MPX relevant properties."
      },
      "MarketPlace": {
        "required": [
          "splits"
        ],
        "type": "object",
        "properties": {
          "splits": {
            "type": "array",
            "description": "The marketplace splits",
            "items": {
              "$ref": "#/components/schemas/MarketPlaceSplit"
            }
          }
        },
        "description": "If you are a marketplace merchant, use this object to send one or multiplesplits per transaction."
      },
      "MarketPlaceSplit": {
        "type": "object",
        "properties": {
          "subMerchantId": {
            "type": "string",
            "description": "Your sub-merchant's ID. This value is specified by your collector."
          },
          "amount": {
            "type": "integer",
            "description": "The share of the transaction that you want to be transferred to / from a sub-merchant's account in the currency's smallest unit. For example use 1000 for CHF 10.00. The amount cannot be 0. The sum of all split amounts have to match the transaction amount.",
            "format": "int64"
          },
          "commission": {
            "type": "integer",
            "description": "Your marketplace commission in the currency's smallest unit. For example use 1000 for CHF 10.00. The commission will always be deducted from the split amount and can therefore not be higher than the split amount. For settlements, the commission will be deducted from the amount to be paid out to the sub-merchant and credited to your marketplace account. For refunds, the commission will be deducted from the amount to be debited from the sub-merchant and debited instead from your marketplace account.",
            "format": "int64"
          },
          "vat": {
            "type": "integer",
            "description": "The VAT related to the specific transaction split in the currency's smallest unit. The VAT amount cannot exceed the value of the `commission`.",
            "format": "int64"
          }
        },
        "description": "The marketplace splits"
      },
      "MultiCurrencyProcessing": {
        "required": [
          "conversionRate",
          "localTransactionTime",
          "provider",
          "reasonIndicator",
          "retrievalReferenceNumber",
          "transactionDate",
          "userId"
        ],
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "description": "The targeted currency"
          },
          "conversionRate": {
            "type": "number",
            "description": "Conversion rate received from the currency rates endpoint",
            "format": "double"
          },
          "amount": {
            "type": "integer",
            "description": "The amount in your targeted currency",
            "format": "int64"
          },
          "transactionDate": {
            "type": "string",
            "description": "Transaction datetime received from the currency rates endpoint",
            "format": "date-time"
          },
          "localTransactionTime": {
            "type": "string",
            "description": "LocalTransactionTime received from the currency rates endpoint"
          },
          "retrievalReferenceNumber": {
            "type": "string",
            "description": "RetrievalReferenceNumber received from the currency rates endpoint"
          },
          "userId": {
            "type": "string"
          },
          "provider": {
            "type": "string",
            "description": "The provider for multi currency processing"
          },
          "reasonIndicator": {
            "type": "string",
            "description": "If received from acquirer the reason indicator can be set"
          }
        },
        "description": "Multi currency processing data if sent during init or authorization"
      },
      "PayPalDetail": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "The PayPal orderId, if the transaction was a PayPal order."
          },
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "payerId": {
            "type": "string",
            "description": "The PayPal payerId"
          }
        },
        "description": "If PayPal was used for a transaction the object holds all PayPal relevant properties."
      },
      "PaymentReference": {
        "type": "object",
        "properties": {
          "reference": {
            "type": "string",
            "xml": {
              "name": "Reference"
            }
          }
        }
      },
      "PostfinanceDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "masked": {
            "type": "string",
            "description": "Masked card number. Can be used to display on a users profile page. For example: `****2345`"
          },
          "expiryMonth": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry month of the Postfinance card"
          },
          "expiryYear": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry year of the Postfinance card"
          }
        },
        "description": "If PFC was used for a transaction the object holds all Postfinance relevant properties."
      },
      "PostfinancePayDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The PostfinancePay alias."
          },
          "maskedIban": {
            "type": "string",
            "description": "The PostfinancePay masked IBAN of the according account to identify the token's account by the shopper."
          },
          "fingerprint": {
            "maxLength": 24,
            "minLength": 24,
            "pattern": "F-[A-Za-z0-9_-]{22}",
            "type": "string",
            "description": "An unique identifier of the card number. Useful to identify multiple customers' or the same customer's transactions where the same card was used.",
            "example": "F-coGuJQ55tUk8CnKGI9PX1T"
          }
        },
        "description": "If PFP was used for a transaction the object holds all PostfinancePay relevant properties."
      },
      "QrData": {
        "type": "object",
        "properties": {
          "creditorInformation": {
            "$ref": "#/components/schemas/CreditorInformation"
          },
          "ultimateDebtor": {
            "$ref": "#/components/schemas/UltimateDebtor"
          },
          "paymentReference": {
            "$ref": "#/components/schemas/PaymentReference"
          }
        },
        "description": "QR code data if available"
      },
      "ReceiverData": {
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "lastName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "city": {
            "maxLength": 25,
            "minLength": 0,
            "type": "string"
          },
          "countryCode": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "streetAddress": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "postalCode": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string"
          },
          "state": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "dateOfBirth": {
            "maxLength": 8,
            "minLength": 0,
            "type": "string"
          },
          "identificationTypeCode": {
            "maxLength": 8,
            "minLength": 0,
            "type": "string"
          },
          "identificationSubtype": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string"
          },
          "identificationValue": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "identificationIssuingCountry": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "accountNumber": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "accountNumberType": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string"
          }
        }
      },
      "RekaDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "masked": {
            "type": "string",
            "description": "Masked REKA number. Can be used to display on a users profile page."
          },
          "expiryMonth": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry month of the REKA card"
          },
          "expiryYear": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry year of the REKA card"
          },
          "subtype": {
            "maxLength": 3,
            "minLength": 3,
            "type": "string",
            "description": "The REKA payment subtype. REK for REKA Pay, REL for REKA Lunch, RER for REKA Rail.",
            "enum": [
              "REK",
              "REL",
              "RER"
            ]
          }
        },
        "description": "If Reka was used for a transaction the object holds all Reka relevant properties."
      },
      "SBBHalbtaxPlusDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The SBBHalbtaxPlus alias."
          },
          "balanceType": {
            "type": "string",
            "description": "The SBBHalbtaxPlus balance type."
          }
        },
        "description": "If PLU was used for a transaction the object holds all SBBHalbtaxPlus relevant properties."
      },
      "SenderData": {
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "lastName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "city": {
            "maxLength": 25,
            "minLength": 0,
            "type": "string"
          },
          "countryCode": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "streetAddress": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "postalCode": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string"
          },
          "state": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "dateOfBirth": {
            "maxLength": 8,
            "minLength": 0,
            "type": "string"
          },
          "identificationTypeCode": {
            "maxLength": 8,
            "minLength": 0,
            "type": "string"
          },
          "identificationSubtype": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string"
          },
          "identificationValue": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "identificationIssuingCountry": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          }
        }
      },
      "SettleDetail": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer",
            "description": "The settled amount.",
            "format": "int64"
          }
        }
      },
      "StatusCardDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          },
          "fingerprint": {
            "maxLength": 24,
            "minLength": 24,
            "pattern": "F-[A-Za-z0-9_-]{22}",
            "type": "string",
            "description": "An unique identifier of the card number. Useful to identify multiple customers' or the same customer's transactions where the same card was used.",
            "example": "F-coGuJQ55tUk8CnKGI9PX1T"
          },
          "masked": {
            "type": "string",
            "description": "Masked credit card number. Can be used to display on a users profile page. For example: `424242xxxxxx4242`"
          },
          "bin": {
            "type": "string",
            "description": "The issuer identification number (BIN) of the credit card. For example: `424242`"
          },
          "aliasCVV": {
            "type": "string",
            "description": "Alias of the CVV. Will be deleted immediately after authorization."
          },
          "expiryMonth": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry month of the card."
          },
          "expiryYear": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "\\d{2}",
            "type": "string",
            "description": "The expiry year of the card."
          },
          "info": {
            "$ref": "#/components/schemas/CardInfo"
          },
          "walletIndicator": {
            "type": "string",
            "enum": [
              "APL",
              "PAY",
              "SAM",
              "VPS",
              "MBP",
              "C2P"
            ]
          },
          "networkToken": {
            "$ref": "#/components/schemas/TokenInfo"
          },
          "cardOnFile": {
            "$ref": "#/components/schemas/CardOnFileStatus"
          },
          "clickToPay": {
            "$ref": "#/components/schemas/ClickToPay"
          },
          "authenticationMethod": {
            "type": "string",
            "description": "The authentication method used.",
            "enum": [
              "PASSKEYS",
              "THREE_DS"
            ]
          },
          "passkey": {
            "$ref": "#/components/schemas/Passkey"
          },
          "3D": {
            "$ref": "#/components/schemas/EMVCo3DAuthenticationDataStatusResponse"
          }
        },
        "description": "If a credit card payment method was used for a transaction the `card` object holds all relevant properties for the used card."
      },
      "StatusResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "The transactionId received after an authorization."
          },
          "merchantId": {
            "type": "string",
            "description": "The merchant id."
          },
          "type": {
            "type": "string",
            "enum": [
              "payment",
              "credit",
              "card_check"
            ]
          },
          "status": {
            "type": "string",
            "description": "The transaction status\n\n|Status|Description|\n|:---|:---|\n|initialized| When a transaction was initialized. A transaction is initialized after a successful init request. This status is only set for customer-initiated flows before consumers start their payment via our payment forms.|\n|authenticated| When a transaction was authenticated. This status is only set if you defer the authorization from the authentication.|\n|authorized| When a transaction was authorized. This status is only set if you defer the settlement from the authorization.|\n|settled| When a transaction was settled partially or fully.|\n|canceled| When a transaction was canceled by the user or automatically by the system after a time out occurred on our payment forms.\n|transmitted| When a transaction was transmitted to the acquirer for processing. This is automatically set by our system.|\n|failed| When a transaction failed.|\n",
            "enum": [
              "initialized",
              "challenge_required",
              "challenge_ongoing",
              "authenticated",
              "authorized",
              "settled",
              "canceled",
              "transmitted",
              "failed"
            ]
          },
          "currency": {
            "type": "string",
            "description": "3 letter <a href='https://en.wikipedia.org/wiki/ISO_4217' target='_blank'>ISO-4217</a> character code. For example `CHF` or `USD`"
          },
          "refno": {
            "type": "string",
            "description": "The merchant's reference number. It should be unique for each transaction."
          },
          "refno2": {
            "type": "string",
            "description": "Optional customer's reference number. Supported by some payment methods or acquirers."
          },
          "metadata": {
            "$ref": "#/components/schemas/Metadata"
          },
          "paymentMethod": {
            "type": "string",
            "enum": [
              "ACC",
              "ALP",
              "APL",
              "AMX",
              "AZP",
              "BAC",
              "BON",
              "CBL",
              "CFY",
              "CSY",
              "CUP",
              "DEA",
              "DIN",
              "DII",
              "DIB",
              "DIS",
              "DNK",
              "DMO",
              "ECA",
              "ELV",
              "EPS",
              "ESY",
              "GFT",
              "GPA",
              "HPC",
              "INT",
              "JCB",
              "JEL",
              "KLN",
              "MAU",
              "MDP",
              "MFA",
              "MFX",
              "MPA",
              "MFG",
              "MPG",
              "MPX",
              "MYO",
              "PAP",
              "PAY",
              "PEF",
              "PFC",
              "PSC",
              "REK",
              "SAM",
              "SWB",
              "SCX",
              "SWP",
              "TWI",
              "UAP",
              "VIS",
              "WEC",
              "SWH",
              "VPS",
              "MBP",
              "CUV",
              "GEP",
              "PLU",
              "DVI",
              "PFP",
              "PYL"
            ]
          },
          "detail": {
            "$ref": "#/components/schemas/Detail"
          },
          "customer": {
            "$ref": "#/components/schemas/Customer"
          },
          "cdm": {
            "$ref": "#/components/schemas/CDMResponse"
          },
          "accertify": {
            "$ref": "#/components/schemas/Accertify"
          },
          "language": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "description": "The language (language code) in which the payment was presented to the cardholder. The <a href='https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes' target='_blank'>ISO-639-1</a> two letter language codes listed above are supported",
            "enum": [
              "en",
              "de",
              "fr",
              "it",
              "es",
              "el",
              "fi",
              "hu",
              "ko",
              "nl",
              "no",
              "da",
              "pl",
              "pt",
              "ru",
              "ja",
              "sk",
              "sl",
              "sv",
              "tr",
              "zh"
            ]
          },
          "card": {
            "$ref": "#/components/schemas/StatusCardDetail"
          },
          "TWI": {
            "$ref": "#/components/schemas/TwintDetail"
          },
          "PAP": {
            "$ref": "#/components/schemas/PayPalDetail"
          },
          "REK": {
            "$ref": "#/components/schemas/RekaDetail"
          },
          "ELV": {
            "$ref": "#/components/schemas/ElvDetail"
          },
          "KLN": {
            "$ref": "#/components/schemas/KlarnaDetail"
          },
          "INT": {
            "$ref": "#/components/schemas/ByjunoDetail"
          },
          "SWP": {
            "$ref": "#/components/schemas/SwissPassDetail"
          },
          "MPG": {
            "$ref": "#/components/schemas/MPGDetail"
          },
          "MFG": {
            "$ref": "#/components/schemas/MFGDetail"
          },
          "MFX": {
            "$ref": "#/components/schemas/MFXDetail"
          },
          "MPX": {
            "$ref": "#/components/schemas/MPXDetail"
          },
          "MDP": {
            "$ref": "#/components/schemas/MDPDetail"
          },
          "ESY": {
            "$ref": "#/components/schemas/SwisscomPayDetail"
          },
          "PFC": {
            "$ref": "#/components/schemas/PostfinanceDetail"
          },
          "PLU": {
            "$ref": "#/components/schemas/SBBHalbtaxPlusDetail"
          },
          "PFP": {
            "$ref": "#/components/schemas/PostfinancePayDetail"
          },
          "DMO": {
            "$ref": "#/components/schemas/DimocoDetail"
          },
          "WEC": {
            "$ref": "#/components/schemas/WeChatDetail"
          },
          "SCX": {
            "$ref": "#/components/schemas/SuperCard"
          },
          "accountFunding": {
            "$ref": "#/components/schemas/AccountFundingTransaction"
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Action"
            }
          },
          "ep2": {
            "$ref": "#/components/schemas/Ep2"
          },
          "dcc": {
            "$ref": "#/components/schemas/Dcc"
          },
          "multiCurrencyProcessing": {
            "$ref": "#/components/schemas/MultiCurrencyProcessing"
          },
          "avs": {
            "$ref": "#/components/schemas/Avs"
          },
          "installments": {
            "$ref": "#/components/schemas/Installments"
          },
          "surcharge": {
            "$ref": "#/components/schemas/Surcharge"
          }
        }
      },
      "SuperCard": {
        "type": "object",
        "properties": {
          "subtype": {
            "maxLength": 3,
            "minLength": 3,
            "type": "string",
            "description": "The SCX payment subtype. SCM for Mastercard, SCV for Visa and SCP for Visa prepaid",
            "enum": [
              "SCM",
              "SCV",
              "SCP"
            ]
          }
        },
        "description": "Supercard specific parameters."
      },
      "Surcharge": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer",
            "description": "The surcharge amount applied to the transaction, in minor units.",
            "format": "int64"
          },
          "settledAmount": {
            "type": "integer",
            "description": "The surcharge amount that has been settled, in minor units.",
            "format": "int64"
          },
          "creditedAmount": {
            "type": "integer",
            "description": "The surcharge amount that has been credited, in minor units.",
            "format": "int64"
          }
        },
        "description": "Surcharge data if available."
      },
      "SwissPassDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          }
        },
        "description": "If SWP was used for a transaction the object holds all SwissPass relevant properties."
      },
      "SwisscomPayDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The resulting alias, if requested or available.",
            "example": "AAABeCBPbiHssdexyrAAAYkaznYWAPYt",
            "externalDocs": {
              "url": "https://docs.datatrans.ch/docs/tokenization#section-token-format"
            }
          }
        },
        "description": "If ESY was used for a transaction the object holds all Swisscom Pay relevant properties."
      },
      "TwintDetail": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "The Twint alias."
          },
          "fingerprint": {
            "maxLength": 24,
            "minLength": 24,
            "pattern": "F-[A-Za-z0-9_-]{22}",
            "type": "string",
            "description": "An unique identifier of the card number. Useful to identify multiple customers' or the same customer's transactions where the same card was used.",
            "example": "F-coGuJQ55tUk8CnKGI9PX1T"
          }
        },
        "description": "If Twint was used for a transaction the object holds all Twint relevant properties."
      },
      "UltimateDebtor": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "xml": {
              "name": "Name"
            }
          },
          "addressLine1": {
            "type": "string",
            "xml": {
              "name": "AddressLine1"
            }
          },
          "addressLine2": {
            "type": "string",
            "xml": {
              "name": "AddressLine2"
            }
          },
          "street": {
            "type": "string",
            "xml": {
              "name": "Street"
            }
          },
          "postalcode": {
            "type": "string",
            "xml": {
              "name": "PostalCode"
            }
          },
          "town": {
            "type": "string",
            "xml": {
              "name": "Town"
            }
          },
          "country": {
            "type": "string",
            "xml": {
              "name": "Country"
            }
          }
        }
      },
      "WeChatDetail": {
        "type": "object",
        "properties": {
          "prepayId": {
            "type": "string"
          }
        },
        "description": "If WEC was used for a transaction the object holds all WeChat relevant properties."
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  },
  "x-tagGroups": [
    {
      "name": "Tokenizations",
      "tags": [
        "/v1/tokenizations"
      ]
    },
    {
      "name": "Vault API",
      "tags": [
        "/v1/aliases"
      ]
    },
    {
      "name": "Transactions",
      "tags": [
        "/v1/transactions"
      ]
    }
  ]
}
```