# 下载结算文件

> 按结算日期和结算币种下载 UTF-8 CSV 结算文件。

```yaml
openapi: 3.1.0
x-onerway-docs-version: v2
x-onerway-spec-key: payments/versions/v2/settlement-files/download-settlement-file
info:
  title: 下载结算文件
  version: v2
  description: 按结算日期和结算币种下载 UTF-8 CSV 结算文件。
servers:
  - url: https://sandbox-payment-api.onerway.com
    description: sandbox
  - url: https://payment-api.onerway.com
    description: production
paths:
  /v1/settlementFile/download:
    get:
      summary: 下载结算文件
      description: 按结算日期和结算币种下载 UTF-8 CSV 结算文件。
      parameters:
        - name: ApiKey
          in: header
          required: true
          description: 商户账户的 API Key，通过 `ApiKey`
            请求头传入。详见[请求认证](/zh/payments/versions/v2/get-started/authentication)。
          schema:
            type: string
            description: 商户账户的 API Key，通过 `ApiKey`
              请求头传入。详见[请求认证](/zh/payments/versions/v2/get-started/authentication)。
        - name: merchantNo
          in: header
          required: true
          description: Onerway
            分配的商户号；获取方式参见[接入准备](/zh/payments/versions/v2/get-started/setup#获取凭证)。
          schema:
            type: string
            description: Onerway
              分配的商户号；获取方式参见[接入准备](/zh/payments/versions/v2/get-started/setup#获取凭证)。
        - name: date
          in: header
          required: true
          description: 需要下载结算文件的结算日期。
          schema:
            type: string
            description: 需要下载结算文件的结算日期。
            x-onerway-constraints:
              - kind: rule
                text: 使用 `yyyyMMdd` 格式，不要传 `2021-10-26` 这类带连字符的日期。
        - name: currency
          in: header
          required: true
          description: 需要下载结算文件的结算币种，[ISO
            4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes)
            三位字母货币代码。
          schema:
            type: string
            description: 需要下载结算文件的结算币种，[ISO
              4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes)
              三位字母货币代码。
      responses:
        "200":
          description: 结算文件内容（合成示例）
          content:
            application/json:
              schema:
                type: object
                properties:
                  file:
                    type: object
                    properties:
                      Content-Type:
                        type: string
                        description: 结算文件流的响应 MIME 类型。
                      csv:
                        type: object
                        properties:
                          batch:
                            type: object
                            properties:
                              Settlement Date:
                                type: string
                                description: 结算周期对应的结算日期；每个结算周期按结算币种各生成一个结算文件，批次汇总部分将同一结算日、同一结算币种的全部批次合并为一行汇总。
                              Settlement Currency:
                                type: string
                                description: 本批次的结算币种，即 Onerway 进行资金结算的币种；[ISO
                                  4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes)
                                  三位字母货币代码。
                              Transaction Amount:
                                type: string
                                description: 本批次交易金额合计，以结算币种计；支付为正，退款、拒付为负。
                              Refund Amount:
                                type: string
                                description: 本批次成功退款金额合计，以结算币种计，以负数表示。
                              Transaction Processing Fee:
                                type: string
                                description: 本批次收取的按笔处理费合计，涵盖支付、请款、预授权及撤销、拒付预警计费，两种计费模式下均可收取。
                              Refund Processing Fee:
                                type: string
                                description: 本批次退款成功交易收取的按笔处理费合计，两种计费模式下均可收取。
                              Fee:
                                type: string
                                description: 本批次 Onerway 收取的交易手续费合计。
                                x-onerway-value:
                                  empty: true
                                  when:
                                    en: Populated for transactions priced under bundled pricing; stays `0` for
                                      transactions priced under IC++ pricing,
                                      whose fees are split into the Interchange
                                      Fee, Scheme Fee, and Markup columns. A
                                      merchant may have both pricing models
                                      configured.
                                    zh: 按打包模式计费的交易有值；按 IC++ 模式计费的交易为 `0`，其费用拆分见 Interchange Fee、Scheme Fee、Markup
                                      各列。商户可同时配置两种计费模式。
                              Interchange Fee:
                                type: string
                                description: 发卡行收取的 Interchange 费用。
                                x-onerway-value:
                                  empty: true
                                  when: &a1
                                    en: Populated for transactions priced under IC++ pricing. For transactions
                                      priced under bundled pricing the value
                                      stays `0` or empty; read `Fee` instead. A
                                      merchant may have both pricing models
                                      configured, so both groups of fee columns
                                      can carry values in the same file.
                                    zh: 按 IC++ 模式计费的交易有值；按打包模式计费的交易为 `0` 或空，此时以 `Fee`
                                      列为准。商户可同时配置两种计费模式，同一文件中两组费用列都可能承载费用。
                              Scheme Fee:
                                type: string
                                description: 卡组织收取的网络费用。
                                x-onerway-value:
                                  empty: true
                                  when: *a1
                              Markup:
                                type: string
                                description: Onerway 在 Interchange 与 Scheme 费用之上收取的加价（Markup）。
                                x-onerway-value:
                                  empty: true
                                  when: *a1
                              Deposit Release:
                                type: string
                                description: 本批次返还商户的保证金金额。
                              Deposit:
                                type: string
                                description: 本批次扣留的保证金金额，到期后返还。
                              Settlement Amount:
                                type: string
                                description: 本批次净结算金额，以结算币种计，即交易金额与各项费用轧差后的结果，也是该批次实际应结算的金额。
                              Platform fee:
                                type: string
                                description: 本批次平台模式下交易产生的平台费合计。
                                x-onerway-value:
                                  empty: true
                                  when:
                                    en: "`0.000000` when no platform fee is charged in this batch."
                                    zh: 本批次未收取平台费时为 `0.000000`。
                              Fraud Administration Fee:
                                type: string
                                description: 本批次因风控服务产生的欺诈管理费合计，打包模式计费下收取。
                                x-onerway-value:
                                  empty: true
                                  when:
                                    en: "`0.000000` when no fraud administration fee is charged in this batch."
                                    zh: 本批次未收取欺诈管理费时为 `0.000000`。
                              Decision management Fee:
                                type: string
                                description: 本批次因风控决策产生的风险决策管理费合计，打包模式计费下收取。
                                x-onerway-value:
                                  empty: true
                                  when:
                                    en: "`0.000000` when no decision management fee is charged in this batch."
                                    zh: 本批次未收取风险决策管理费时为 `0.000000`。
                              Other charges:
                                type: string
                                description: 本批次扣除的其他费用，主要用于代理结算等场景。
                                x-onerway-value:
                                  empty: true
                                  when:
                                    en: Has a value when other charges apply; this column is included in the
                                      settlement CSV schema.
                                    zh: 存在其他费用时有值；该列属于结算 CSV schema。
                            description: CSV 文件中的结算批次汇总信息，按结算周期聚合展示。
                          details:
                            type: array
                            description: CSV 文件中的结算明细记录，用于对账与报表处理。
                            items:
                              type: object
                              properties:
                                Settlement Date:
                                  type: string
                                  description: 该明细行所属结算周期的结算日期。
                                Settlement Batch ID:
                                  type: string
                                  description: 该明细行所属结算批次的批次号。一个结算文件合并同一结算日、同一结算币种的全部批次，因此同一文件内明细行的批次号可能不同。
                                Transaction ID:
                                  type: string
                                  description: Onerway 为原始交易生成的交易号；对账时可作为与 API 响应、Webhook 比对的唯一键。
                                Merchant Order ID:
                                  type: string
                                  description: 原始支付请求中商户提交的商户订单号（`merchantTxnId`），用于商户侧匹配交易。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Output when the original request carried a merchant order ID; otherwise
                                        empty.
                                      zh: 原始请求携带商户订单号时输出，否则为空。
                                Production Type:
                                  type: string
                                  description: 该交易所属的支付产品范围。
                                  enum:
                                    - ALL
                                    - CARD
                                    - LPMS
                                    - ACCOUNT
                                    - SETTLE
                                    - PAYOUT
                                    - PAYMENT_CODE
                                    - ORDER_CODE
                                    - FOREIGN_EXCHANGE
                                    - COLLECTION
                                    - ISSUING
                                    - PRE_DISPUTE
                                  x-enum-descriptions:
                                    ALL: 所有支付类型。
                                    CARD: 外卡支付。
                                    LPMS: 本地支付方式。
                                    ACCOUNT: 账户交易。
                                    SETTLE: 结算。
                                    PAYOUT: 出款。
                                    PAYMENT_CODE: 支付码（B 扫 C）。
                                    ORDER_CODE: 订单码（C 扫 B）。
                                    FOREIGN_EXCHANGE: 外汇。
                                    COLLECTION: 收款。
                                    ISSUING: 发卡。
                                    PRE_DISPUTE: 拒付预警。
                                Card Type:
                                  type: string
                                  description: 客户使用的卡品牌或本地支付方式，涵盖
                                    VISA、MASTERCARD、AE、DINERSCLUB、Alipay+、WeChat、PayPal、Klarna、PIX
                                    等支付方式；不携带支付方式的非支付类记录为空。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when a card transaction or local payment method transaction
                                        returns a concrete payment method.
                                      zh: 卡交易或本地支付方式交易返回具体支付方式时有值。
                                APP ID:
                                  type: string
                                  description: 处理该交易的商户应用 ID，商户在 Onerway 注册网站时创建。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when the transaction is associated with a merchant application.
                                      zh: 交易关联商户应用时有值。
                                Transaction URL:
                                  type: string
                                  description: 该交易记录的商户网站地址。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when the transaction records a merchant transaction URL.
                                      zh: 交易记录了商户交易网址时有值。
                                Order_Currency:
                                  type: string
                                  description: 原始交易的下单币种，[ISO
                                    4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes)
                                    三位字母货币代码；该列不参与结算计算。
                                Order Amount:
                                  type: string
                                  description: 支付请求中提交的原始交易金额，以下单币种计；该列不参与结算计算。
                                Transaction Type:
                                  type: string
                                  description: 该结算行的交易操作类型，覆盖支付、退款、分账、拒付及拒付申诉相关交易；金额符号随类型变化，支付为正，退款、拒付为负。
                                  enum:
                                    - SALE
                                    - AUTH
                                    - CAPTURE
                                    - VOID
                                    - REFUND
                                    - SHARE
                                    - RETURN
                                    - CB
                                    - CB_CANCEL
                                    - CB_VOID
                                    - CB_APPEAL
                                    - CB_APPEAL_SUCCESS
                                    - CB_APPEAL_SECOND
                                    - CB_APPEAL_SECOND_SUCCESS
                                    - CB_APPEAL_SECOND_FAILURE
                                  x-enum-descriptions:
                                    SALE: 扣款型交易，用于普通支付、token 支付、订阅或分期交易。
                                    AUTH: 预授权交易，先冻结持卡人卡上金额、暂不扣款。
                                    CAPTURE: 预授权请款，对已授权金额执行扣款。
                                    VOID: 预授权撤销。
                                    REFUND: 退款交易，将此前支付交易的资金退还给客户。
                                    SHARE: 分账交易，将已完成支付的资金分账给指定接收方。
                                    RETURN: 分账回退交易，将此前分账的资金回退。
                                    CB: 拒付交易，客户通过发卡行争议交易时产生。
                                    CB_CANCEL: 拒付取消交易，取消之前发起的拒付。
                                    CB_VOID: 拒付撤销，撤销之前发起的拒付。
                                    CB_APPEAL: 拒付第一次申诉。
                                    CB_APPEAL_SUCCESS: 拒付第一次申诉成功，拒付被撤销。
                                    CB_APPEAL_SECOND: 第一次申诉被拒后发起的第二次拒付申诉。
                                    CB_APPEAL_SECOND_SUCCESS: 拒付第二次申诉成功，拒付被撤销。
                                    CB_APPEAL_SECOND_FAILURE: 拒付第二次申诉失败，拒付维持。
                                Transaction Status:
                                  type: string
                                  description: 原始交易的处理状态；与 `Settlement Status`（结算批次的出款状态）是不同状态轴。
                                  enum:
                                    - S
                                    - F
                                  x-enum-descriptions:
                                    S: 交易成功。
                                    F: 交易失败；失败交易也可能出现在文件中，例如已产生费用或记录经过调整的场景，其费用与结算金额列通常为 `0.000000`。
                                Settlement Currency:
                                  type: string
                                  description: 该交易的结算币种，[ISO
                                    4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes)
                                    三位字母货币代码。
                                Transaction Amount:
                                  type: string
                                  description: 该结算行以结算币种计的交易金额，固定六位小数；支付为正，退款、拒付为负，符号规则与 `Settlement Amount` 一致。
                                Processing Fee:
                                  type: string
                                  description: 该结算行收取的按笔固定处理费，由商户计费规则配置；按交易类型收取，涵盖支付、预授权及撤销、退款、拒付和拒付预警计费，两种计费模式下均可收取。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Populated when a per-transaction processing fee applies to this entry under
                                        the merchant pricing rules; otherwise
                                        `0` or empty.
                                      zh: 商户计费规则中该笔交易命中按笔处理费时有值，否则为 `0` 或空。
                                Fee:
                                  type: string
                                  description: Onerway 为该笔交易收取的交易手续费。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Populated for transactions priced under bundled pricing; stays `0` for
                                        transactions priced under IC++ pricing,
                                        whose fees are split into the
                                        Interchange Fee, Scheme Fee, and Markup
                                        columns. A merchant may have both
                                        pricing models configured.
                                      zh: 按打包模式计费的交易有值；按 IC++ 模式计费的交易为 `0`，其费用拆分见 Interchange Fee、Scheme Fee、Markup
                                        各列。商户可同时配置两种计费模式。
                                Interchange Fee:
                                  type: string
                                  description: 发卡行对该笔交易收取的 Interchange 费用。
                                  x-onerway-value:
                                    empty: true
                                    when: *a1
                                Scheme Fee:
                                  type: string
                                  description: 卡组织对该笔交易收取的网络费用。
                                  x-onerway-value:
                                    empty: true
                                    when: *a1
                                Markup:
                                  type: string
                                  description: Onerway 在 Interchange 与 Scheme 费用之上对该笔交易收取的加价（Markup）。
                                  x-onerway-value:
                                    empty: true
                                    when: *a1
                                Deposit:
                                  type: string
                                  description: 该笔交易扣留的保证金金额，到期后返还。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Populated only when deposit withholding applies to this transaction;
                                        otherwise `0` or empty.
                                      zh: 仅该笔交易触发保证金扣留时有值，否则为 `0` 或空。
                                Settlement Amount:
                                  type: string
                                  description: 该结算行的净结算金额，即交易金额与全部费用、保证金轧差后的净额，以结算币种计、固定六位小数；为该行实际应结算金额，失败交易行通常为
                                    `0.000000`。
                                Settlement Status:
                                  type: string
                                  description: 结算打款状态，表示资金拨付结果；与 `Transaction Status`（交易处理状态）是不同状态轴。
                                  enum:
                                    - S
                                    - OP
                                    - OPS
                                    - OPF
                                    - OU
                                  x-enum-descriptions:
                                    S: 结算出款待处理；结算批次已完成清结算，等待出款处理，为出款前的中间状态。
                                    OP: 结算出款处理中，结算资金正在处理转账中；这是结算出款流程中的中间状态。
                                    OPS: 结算出款成功，结算出款已成功完成；最终状态，表示资金已成功转账至商户指定账户。
                                    OPF: 结算出款失败；最终状态，表示资金未能转账至商户账户，需联系 Onerway 支持协助处理。
                                    OU: 无需出款；该结算批次无需进行资金打款。
                                Wallet Type Code:
                                  type: string
                                  description: 标识交易所使用钱包的钱包类型代码，涵盖 PayPal、ApplePay、GooglePay、Alipay+ 等钱包类支付方式。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Populated when the transaction is paid through a wallet; otherwise empty.
                                      zh: 交易通过钱包类支付方式完成时输出，否则为空。
                                Merchant Order Time:
                                  type: string
                                  description: 原始支付请求中商户提交的订单时间（`externalOrderTime`）。
                                Platform type:
                                  type: string
                                  description: 交易发起时记录的网站 / 平台类型。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when the transaction records a platform type.
                                      zh: 交易记录平台类型时有值。
                                Platform fee:
                                  type: string
                                  description: 平台模式下该笔交易收取的平台费。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: "`0.000000` when no platform fee is charged."
                                      zh: 未收取平台费时为 `0.000000`。
                                Fraud Administration Fee:
                                  type: string
                                  description: 该笔交易因风控服务收取的欺诈管理费，打包模式计费下收取。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: "`0.000000` when no fraud administration fee is charged."
                                      zh: 未收取欺诈管理费时为 `0.000000`。
                                card product:
                                  type: string
                                  description: 卡组织返回的卡产品类型。
                                  enum:
                                    - "1"
                                    - "2"
                                    - "3"
                                    - "4"
                                  x-enum-descriptions:
                                    "1": Consumer 卡产品。
                                    "2": Commercial 卡产品。
                                    "3": 全部卡产品（All）。
                                    "4": 其他卡产品（Other）。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value for card transactions when a card product type is returned.
                                      zh: 卡交易返回卡产品类型时有值。
                                card category:
                                  type: string
                                  description: 卡组织返回的卡类别。
                                  enum:
                                    - D
                                    - P
                                    - C
                                    - H
                                    - R
                                    - N
                                  x-enum-descriptions:
                                    D: 借记卡
                                    P: 预付卡
                                    C: 信用卡
                                    H: 签账卡
                                    R: 延迟借记卡
                                    N: 未知
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value for card transactions when a card category is returned.
                                      zh: 卡交易返回卡类别时有值。
                                Decision management Fee:
                                  type: string
                                  description: 该笔交易因风控决策收取的风险决策管理费，打包模式计费下收取。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: "`0.000000` when no decision management fee is charged."
                                      zh: 未收取风险决策管理费时为 `0.000000`。
                                Fee Percentage:
                                  type: string
                                  description: 该笔交易适用的按比例费率，以百分号格式输出；该列仅说明 `Fee` 的计算方式，不产生额外扣费。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Populated when the transaction matches a percentage-based fee rule; empty
                                        for fixed-amount pricing and rows
                                        without fee calculation.
                                      zh: 交易匹配到按比例计费规则时有值；固定金额计费及无计费的记录为空。
                                Markup Fixed amount:
                                  type: string
                                  description: 该笔交易适用的固定 markup 金额，正负号表示费用方向；该列仅说明 `Markup` 中的固定构成部分，不产生额外扣费。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Populated when the transaction matches a fixed markup rule; empty for rows
                                        without fee calculation. The currency is
                                        in `Markup Fixed currency`, which may
                                        differ from the settlement currency.
                                      zh: 交易匹配到固定 markup 规则有值；无计费的记录为空。币种见 `Markup Fixed currency`，可能与结算币种不同。
                                Markup Fixed currency:
                                  type: string
                                  description: 固定 markup 金额的币种。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when fixed markup amount pricing applies.
                                      zh: 适用固定 markup 金额时有值。
                                Markup Percentage:
                                  type: string
                                  description: 该笔交易适用的按比例 markup，以百分号格式输出；该列仅说明 `Markup` 中的比例构成部分，不产生额外扣费。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when percentage-based markup applies.
                                      zh: 适用按比例 markup 时有值。
                                Transaction complete time:
                                  type: string
                                  description: 原始交易到达最终状态的时间。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when the transaction is completed and the completion time is
                                        recorded.
                                      zh: 交易已完成并记录完成时间时有值。
                                Original transaction ID:
                                  type: string
                                  description: 被引用的原始交易的 Onerway 交易号。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when a derived transaction references the original transaction.
                                        `REFUND` and `CB` reference the original
                                        `SALE` transaction; `CB_APPEAL` and
                                        `CB_APPEAL_SECOND` reference the
                                        corresponding `CB` transaction.
                                      zh: 衍生交易引用原交易时有值；`REFUND` / `CB` 引用原 `SALE` 交易号，`CB_APPEAL` / `CB_APPEAL_SECOND`
                                        引用对应 `CB` 交易号。
                                Original transaction merchant order ID:
                                  type: string
                                  description: "`REFUND` 交易引用的原 `SALE` 交易商户订单号。"
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Returned when the settlement row references an original `SALE` merchant
                                        order; older exported files may omit
                                        this column or use a different column
                                        name.
                                      zh: 当结算行引用原 `SALE` 商户订单时返回；较旧导出文件可能省略该列或使用不同列名。
                                Remark:
                                  type: string
                                  description: 该结算行记录的补充说明信息。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when the settlement row carries a remark.
                                      zh: 结算明细存在备注时有值。
                                Other charges:
                                  type: string
                                  description: 该行扣除的其他费用，主要用于代理结算等场景。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Has a value when other charges apply; this column is included in the
                                        settlement CSV schema.
                                      zh: 存在其他费用时有值；该列属于结算 CSV schema。
                                Counterparty Name:
                                  type: string
                                  description: 该交易关联的对手方名称。
                                  x-onerway-value:
                                    empty: true
                                    when:
                                      en: Output when the transaction records a counterparty name.
                                      zh: 交易记录对手方名称时输出。
                                Transaction Time (GMT+8):
                                  type: string
                                  description: 交易时间，GMT+8（东八区）时区。
                        description: UTF-8 编码的 CSV
                          结算文件；文件先包含结算批次汇总信息，随后包含结算明细列表。所有金额列固定保留六位小数（零小数币种同样适用），费用以负数表示；`0.000000`
                          表示该行不涉及此项，空单元格表示该行此列无值。费用列取决于各交易适用的计费模式，商户可同时配置两种计费模式。结算金额仅由金额与费用列计算得出，其余列仅作对账参考。
                        x-onerway-value:
                          empty: true
                          when:
                            en: When the requested date or currency has no settlement data, the response may
                              be an empty or no-data file; recheck the request
                              date, currency, and download permission.
                            zh: 请求日期或币种没有结算数据时，响应可能为空文件或无数据文件；此时需回查请求日期、币种与下载权限。
                    description: 成功响应返回 `application/octet-stream` 文件流，而不是 JSON body。请将 UTF-8
                      编码内容保存为 `.csv` 文件。
              examples:
                settlement-csv:
                  summary: 结算文件内容（合成示例）
                  value:
                    file: "Settlement Date,Settlement Currency,Transaction Amount,Refund
                      Amount,Transaction Processing Fee,Refund Processing
                      Fee,Fee,Interchange Fee,Scheme Fee,Markup,Deposit
                      Release,Deposit,Settlement Amount,Platform fee,Fraud
                      Administration Fee,Decision management Fee,Other charges

                      2026-06-26,USD,220.000000,-20.000000,-1.500000,-0.200000,\
                      -1.000000,-1.100000,-0.200000,-1.300000,0.000000,-30.0000\
                      00,181.900000,0.000000,0.000000,0.000000,0.000000

                      Settlement Date,Settlement Batch ID,Transaction
                      ID,Merchant Order ID,Production Type,Card Type,APP
                      ID,Transaction URL,Order_Currency,Order Amount,Transaction
                      Type,Transaction Status,Settlement Currency,Transaction
                      Amount,Processing Fee,Fee,Interchange Fee,Scheme
                      Fee,Markup,Deposit,Settlement Amount,Settlement
                      Status,Wallet Type Code,Merchant Order Time,Platform
                      type,Platform fee,Fraud Administration Fee,card
                      product,card category,Decision management Fee,Fee
                      Percentage,Markup Fixed amount,Markup Fixed
                      currency,Markup Percentage,Transaction complete
                      time,Original transaction ID,Original transaction merchant
                      order ID,Remark,Other charges,Counterparty
                      Name,Transaction Time (GMT+8)

                      2026-06-26,2070319499920410001,2065303220829687001,178124\
                      1631001,LPMS,VISA,2065269384285683001,example.com,USD,100\
                      .000000,SALE,S,USD,100.000000,-1.000000,-1.000000,0.00000\
                      0,0.000000,-0.500000,-10.000000,87.500000,S,,2026-06-12
                      13:20:32,,0.000000,0.000000,,,0.000000,1.000000%,-0.50000\
                      0,USD,0.000000%,2026-06-12T13:21:39,,,,0.000000,,2026-06-\
                      12T13:20:33

                      2026-06-26,2070319499920410001,2065303220829687002,178124\
                      1631003,CARD,VISA,2065269384285683001,example.com,USD,200\
                      .000000,SALE,S,USD,200.000000,-0.500000,0.000000,-1.10000\
                      0,-0.200000,-0.800000,-20.000000,177.400000,S,,2026-06-12
                      13:20:32,,0.000000,0.000000,1,C,0.000000,,,,2026-06-12T13\
                      :22:00,,,,0.000000,,2026-06-12T13:22:01

                      2026-06-26,2070319499920410001,2065306663241781002,178124\
                      1631002,LPMS,MB_WAY,2065269384285683001,example.com,USD,2\
                      0.000000,REFUND,S,USD,-20.000000,-0.200000,0.000000,0.000\
                      000,0.000000,0.000000,0.000000,-20.200000,S,,2026-06-12
                      13:20:32,,0.000000,0.000000,,,0.000000,,,,,2026-06-12T13:\
                      34:20,2065303220829687001,1781241631001,,0.000000,,2026-0\
                      6-12T13:34:14

                      2026-06-26,2070319499920410001,2065306663241781004,178124\
                      1631004,LPMS,VISA,2065269384285683001,example.com,USD,40.\
                      000000,CB,S,USD,-40.000000,-2.800000,0.000000,0.000000,0.\
                      000000,0.000000,0.000000,-42.800000,S,,2026-06-12
                      13:20:32,,0.000000,0.000000,,,0.000000,,,,,2026-06-12T14:\
                      10:00,,,,0.000000,,2026-06-12T14:10:01

                      2026-06-26,2070319499920410001,2065306663241781003,178124\
                      1631005,LPMS,,2065269384285683001,example.com,USD,20.0000\
                      00,SHARE,S,USD,-20.000000,0.000000,0.000000,0.000000,0.00\
                      0000,0.000000,0.000000,-20.000000,S,,2026-06-12
                      13:20:32,,0.000000,0.000000,,,0.000000,,,,,2026-06-12T13:\
                      30:00,2065303220829687001,1781241631001,,0.000000,,2026-0\
                      6-12T13:30:01"
      security:
        - apiKeyAuth:
            []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: ApiKey
```
