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

# Get details

> Get details on a specific settlement payout.

<ResponseExample>
  ```csv Response body theme={"system"}
  total_order_amount,total_capture_amount,total_refund_amount,total_fee_amount,total_returned_fee_amount,total_chargeback_amount,total_chargeback_reversal_amount,total_interest_transfer_amount,total_correction_amount,total_referral_revenue_transfer_amount,total_bank_account_withdrawals,total_bank_account_withdrawal_reversals,forex_fees,net_settlement_amount,payment_uuid,settlement_currency,payout_date,payout_status,final_payout_amount,payout_currency
  703.20,703.20,-5.00,-43.80,.30,0.00,0.00,-4.30,1.71,10.00,100.00,-100.00,0.00,693.61,a5c13qt1-4126-41d3-2fq8-9ca431f51431,USD,2019-11-02 00:05:00 +0000 UTC,Complete,950.80,CAD
  type,order_capture_date,order_created_at,event_date,order_uuid,customer_order_id,external_reference_id,order_amount,amount,posting_currency,type_code,chargeback_code,sezzle_order_id,product_type,mid,card_network_auth_ref
  ORDER,2019-11-01T19:09:50Z,2019-11-01T19:09:50Z,2019-10-22T19:09:50Z,bm99f-31vu1-kg00e-rae1g,1,12345,500.00,,USD,001,,66d78e86-fd96-4266-9217-b769c102a0a0,standard_checkout,,
  ORDER,2019-11-01T19:09:50Z,2019-11-01T19:09:50Z,2019-10-22T19:09:50Z,va13d-474s9-3000e-nungg,13,12346,200.00,,USD,001,,5e0d4886-8c3d-4d4e-901a-2046a06c1e0f,long_term_lending,,
  ORDER,2019-11-01T20:00:01Z,2019-11-01T00:00:01Z,2019-11-01T00:00:01Z,as41g-4v4s9-3000e-nunh0,1,12347,1.40,,USD,001,,a2c1a142-96ad-48c9-93d2-1acaaee9f073,virtual_card,123456789,987654321
  ORDER,2019-11-01T20:00:01Z,2019-11-01T20:00:01Z,2019-11-01T20:00:01Z,as62l-5ptqs-9g00e-pvk10,2,12348,1.80,,USD,001,,3f62dcba-f5a4-41be-ad8f-53e938b5f310,standard_checkout,,
  CAPTURE,2019-11-01T20:00:01Z,2019-11-01T20:00:01Z,2019-11-01T20:00:01Z,as62l-5ptqs-9g00e-pvk10,2,12348,,1.80,USD,001,,3f62dcba-f5a4-41be-ad8f-53e938b5f310,,,
  FEE,2019-11-01T19:09:50Z,2019-11-01T19:09:50Z,2019-11-01T19:09:50Z,bm99f-31vu1-kg00e-rae1g,1,12345,,-30.00,USD,003,,66d78e86-fd96-4266-9217-b769c102a0a0,,,
  FEE,2019-11-01T19:09:50Z,2019-11-01T19:09:50Z,2019-11-01T19:09:50Z,va13d-474s9-3000e-nungg,13,12346,,-12.00,USD,003,,5e0d4886-8c3d-4d4e-901a-2046a06c1e0f,,,
  FEE,2019-11-01T20:00:01Z,2019-11-01T00:00:01Z,2019-11-01T20:00:01Z,as41g-4v4s9-3000e-nunh0,1,12347,,-1.20,USD,003,,a2c1a142-96ad-48c9-93d2-1acaaee9f073,,,
  FEE,2019-11-01T20:00:01Z,2019-11-01T20:00:01Z,2019-11-01T20:00:01Z,as62l-5ptqs-9g00e-pvk10,2,12348,,-0.60,USD,003,,3f62dcba-f5a4-41be-ad8f-53e938b5f310,,,
  REFUND,2019-10-22T19:09:50Z,2019-10-22T19:09:50Z,2019-11-01T19:09:50Z,bm5rm-vg2js-1tsky-c2dsky,8,12344,,5.00,USD,002,,e4194956-de70-4958-9da4-6c05f276fdab,,,
  RETURNED_FEE,2019-10-22T19:09:50Z,2019-10-22T19:09:50Z,2019-11-01T19:09:50Z,bm5rm-vg2js-1tsky-c2dsky,7,12344,,.30,USD,004,,e4194956-de70-4958-9da4-6c05f276fdab,,,
  CORRECTION,,,2019-11-01T17:00:01Z,,,,,-1.29,,007,,,,,
  CORRECTION,,,2019-11-01T17:00:01Z,,,,,3.00,,007,,,,,
  INTEREST_TRANSFER,,,2019-11-01T18:00:01Z,,,,,-4.30,,008,,,,,
  REFERRAL_REVENUE_TRANSFER,,,2019-11-01T15:00:01Z,,,,,10.00,,009,,,,,
  BANK_ACCOUNT_WITHDRAWAL,,,2019-11-02T00:05:00Z,,,,,100.00,,010,,,,,
  BANK_ACCOUNT_WITHDRAWAL_REVERSAL,,,2019-11-02T00:05:00Z,,,,,-100.00,,011,,,,,
  ```
</ResponseExample>

## Payout Summary (rows 1-2)

### Summary Headers (row 1)

| Column Header                                 | Description                                                                                                                         |
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Total order amount                            | The sum of all orders on this payout.                                                                                               |
| Total captured amount                         | The sum of all captured amounts on this payout.                                                                                     |
| Total refund amount                           | The sum of all refunds on this payout.                                                                                              |
| Total fee amount                              | The sum of all fees on this payout.                                                                                                 |
| Total returned fee amount                     | The sum of all returned fees on this payout.                                                                                        |
| Total chargeback amount                       | The sum of all chargebacks on this payout.                                                                                          |
| Total chargeback reversal amount              | The sum of all chargeback reversals on this payout.                                                                                 |
| Total interest transfer amount                | The sum of all interest transfers on this payout. If you are not participating in the interest program, this field will be omitted. |
| Total correction amount                       | The sum of all corrections on this payout.                                                                                          |
| Total referral revenue transfer amount        | The sum of all referral revenue transfers on this payout.                                                                           |
| Total bank account withdrawal amount          | The sum of all bank account withdrawals.                                                                                            |
| Total bank account withdrawal reversal amount | The sum of all bank account withdrawal reversals, which reflect a bank account withdrawal that has failed.                          |
| Forex fees                                    | The cost of foreign exchange or cross border transfer fees associated with this payout.                                             |
| Net settlement amount                         | Net amount of settlement.                                                                                                           |
| Payment uuid                                  | The UUID for this payout.                                                                                                           |
| Settlement currency                           | The ISO 4217 currency code of the amount to be settled                                                                              |
| Payout date                                   | The date this payout was sent.                                                                                                      |
| Payout status                                 | The current status of this payout.                                                                                                  |
| Final payout amount                           | The final amount sent to the recipient account after conversion.                                                                    |
| Payout currency                               | The ISO 4217 currency code in which the final payout amount was sent.                                                               |

## Line Items (rows 3-n)

### Line Item Headers (row 3)

| Column Header                           | Description                                                                                                                                                                   |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Type](#line-item-type)                 | Describes the type of event (Order, Fee, Refund, etc.).                                                                                                                       |
| Order capture date                      | The date at which the order was captured. This field is empty if the order has not yet been captured.                                                                         |
| Order created at                        | The date at which the order was created.                                                                                                                                      |
| Event date                              | The date at which the event took place.                                                                                                                                       |
| Order uuid                              | The uuid associated with the order.                                                                                                                                           |
| Customer order id                       | The customer's order number.                                                                                                                                                  |
| External reference id                   | The external reference ID submitted with the order.                                                                                                                           |
| Order Amount                            | The order amount for the ORDER event                                                                                                                                          |
| Amount                                  | The amount of the event.                                                                                                                                                      |
| Posting currency                        | The customer's currency code.                                                                                                                                                 |
| Type code                               | A numeric code that corresponds with the Type field.                                                                                                                          |
| Chargeback code                         | A numeric code that corresponds with the type of chargeback submitted.                                                                                                        |
| Sezzle order ID                         | The internal ID Sezzle has assigned to this order.                                                                                                                            |
| [Product type](#line-item-product-type) | Describes the type of merchant product (Affiliate, Gift card, Standard\_checkout, etc.)                                                                                       |
| Merchant identification number (MID)    | The ID that identifies the merchant and the legitimacy of the business and facilitates the movement of funds from the customer’s bank account to the merchant’s bank account. |
| Card Network Auth Ref                   | A unique numeric or alphanumeric identifier assigned to credit card transactions, making it easier to locate and identify an individual credit card transaction.              |

#### Line Item Type

| Type                                | Description                                                                   | Type Code |
| ----------------------------------- | ----------------------------------------------------------------------------- | --------- |
| ORDER                               | A completed order with Sezzle.                                                | 001       |
| REFUND                              | An order that has been refunded.                                              | 002       |
| FEE                                 | The fee assessed by Sezzle for a given order.                                 | 003       |
| RETURNED\_FEE                       | A fee refunded by Sezzle.                                                     | 004       |
| CHARGEBACK                          | A chargeback resulting from a disputed order.                                 | 005       |
| CHARGEBACK\_REVERSAL                | A reversal of a chargeback resulting from a disputed order.                   | 006       |
| CORRECTION                          | A manual correction to a payout.                                              | 007       |
| INTEREST\_TRANSFER                  | A transfer from the Sezzle interest account.                                  | 008       |
| REFERRAL\_REVENUE\_TRANSFER         | A payment earned from Sezzle's merchant referral program.                     | 009       |
| BANK\_ACCOUNT\_WITHDRAWAL           | A withdrawal of funds from your bank to cover a negative balance with Sezzle. | 010       |
| BANK\_ACCOUNT\_WITHDRAWAL\_REVERSAL | A failed BANK\_ACCOUNT\_WITHDRAWAL.                                           | 011       |
| CAPTURE                             | An order that has been captured.                                              | 012       |

#### Line Item Product Type

| Type                | Description                                       |
| ------------------- | ------------------------------------------------- |
| standard\_checkout  | Standard pay in four checkout                     |
| four\_pay\_monthly  | 4 pay monthly order                               |
| six\_pay\_monthly   | 6 pay monthly order                               |
| long\_term\_lending | Base long term lending product with no promotions |
| virtual\_card       | Virtual card order                                |


## OpenAPI

````yaml get /v2/settlements/details/{payout_uuid}
openapi: 3.1.0
info:
  title: Sezzle API v2
  description: >-
    This Sezzle API is for merchants who want to accept Sezzle as a payment
    option
  termsOfService: https://legal.sezzle.com
  version: 2.0.0
  x-logo:
    url: https://media.sezzle.com/branding/2.0/png/Logo_WhiteWordmark_500x126.png
    backgroundColor: '#392558'
servers:
  - url: https://sandbox.gateway.sezzle.com
    description: development server, usa, ca
  - url: https://gateway.sezzle.com
    description: production server, usa, ca
security:
  - Bearer: []
externalDocs:
  description: Sezzle API guides and tutorials
  url: https://docs.sezzle.com/sezzle-integration
paths:
  /v2/settlements/details/{payout_uuid}:
    get:
      tags:
        - Reports
      summary: Settlement Details
      description: Get details on a specific settlement payout.
      operationId: HandleSettlementDetailsRequest
      parameters:
        - name: payout_uuid
          in: path
          description: The Payout UUID to get
          required: true
          schema:
            type: string
        - name: metadata
          in: query
          description: >-
            An optional comma-separated list of metadata keys. To add a metadata
            key as a column to the report line items, include the key in this
            list. When applicable, the value of the metadata key will be added
            to the line item. If no line items contain the metadata key, the key
            will not be added as a column.
          schema:
            type: string
      responses:
        '200':
          description: >
            Successful Operation


            > **Important:** Use the copy button in the **Response body**
            example, paste the content into a text editor, and save it with a
            `.csv` extension to view the report in a spreadsheet.
          content:
            text/csv:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequestV2'
          example:
            code: bad_request
            message: bad request
        '401':
          $ref: '#/components/responses/UnauthorizedV2'
          example:
            code: unauthorized
            message: authorization not accepted
        '404':
          $ref: '#/components/responses/NotFoundV2'
          example:
            code: record_not_found
            message: not found
        '422':
          $ref: '#/components/responses/UnprocessableV2'
          example:
            code: invalid
            message: UnprocessableV2 entity
components:
  responses:
    BadRequestV2:
      description: Invalid request
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/ErrorV2'
          example:
            - code: bad_request
              message: bad request
    UnauthorizedV2:
      description: >-
        Unauthorized. Returned for any failed bearer or basic auth, including
        expired bearer tokens.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/ErrorV2'
          example:
            - code: unauthorized
              message: authorization not accepted
    NotFoundV2:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/ErrorV2'
          example:
            - code: record_not_found
              message: not found
    UnprocessableV2:
      description: Unable to process the request entity
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/ErrorV2'
          example:
            - code: invalid
              message: Unprocessable entity
  schemas:
    ErrorV2:
      type: object
      properties:
        code:
          type: string
          description: The general error type
        message:
          type: string
          description: A more specific error message, if available
        location:
          type: string
          description: Where the error occurred
        debug_uuid:
          type: string
          description: The unique identifier assigned to this error for troubleshooting
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header
      description: >-
        The authentication token generated from providing API Keys to Sezzle
        Gateway

````