> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PayoutLine

> One order's contribution to a payout. `amount` is this line's share. The order amounts are the whole order's figures and repeat on every line for that order.

<ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
  Net contribution of this line to the payout. Negative when the line is only a refund.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="customerName" type="String">
  Customer name on the order, when it was collected.
</ResponseField>

<ResponseField name="merchantReference" type="String">
  The merchant's own reference for the order, when one was recorded.
</ResponseField>

<ResponseField name="orderGross" type={<a href="/docs/api-reference/v3/reference/common/money">Money</a>}>
  Gross amount of the whole order, before fees. This is the order's figure, not this payout's share, and the same amount repeats on every line for that order (for example a refund in a later payout). Null when it was not reported.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="orderLmnFee" type={<a href="/docs/api-reference/v3/reference/common/money">Money</a>}>
  Letter-of-medical-necessity fee on the whole order. This is the order's figure, not this payout's share, and the same amount repeats on every line for that order (for example a refund in a later payout). Null when it was not reported.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="orderPlatformFee" type={<a href="/docs/api-reference/v3/reference/common/money">Money</a>}>
  Redo's platform commission on the whole order (excludes the LMN fee). Card-processing costs are not charged to the merchant. This is the order's figure, not this payout's share, and the same amount repeats on every line for that order (for example a refund in a later payout). Null when it was not reported.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="orderReference" type="String">
  Order reference, or null when the line could not be matched to an order.
</ResponseField>

<ResponseField name="orderTotalFees" type={<a href="/docs/api-reference/v3/reference/common/money">Money</a>}>
  Platform fee plus LMN fee for the whole order. This is the order's figure, not this payout's share, and the same amount repeats on every line for that order (for example a refund in a later payout). Null when it was not reported.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="types" type={<a href="/docs/api-reference/v3/reference/payments/payout-line-type">[PayoutLineType!]!</a>} required>
  How this line contributed. A line that both captured and refunded lists both.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.