---
title: "List deal payments"
method: GET
path: "/deals/{dealId}/payments"
tags: ["Deals"]
---

# List deal payments

`GET /deals/{dealId}/payments`

## Request

- Base URL: `https://api.darwin.so/api/v1`
- URL: `https://api.darwin.so/api/v1/deals/{dealId}/payments`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Path parameters

- `dealId` string, required

## Response `200`

Sanitized payment state for the deal.

- object
  - `payments` Payment[], required
    - `id` string, required
    - `aiId` string, required
    - `goalId` string, nullable
    - `dealId` string, nullable
    - `amountMinor` integer, required
    - `currency` string, required
    - `description` string, required
    - `status` string, required
    - `checkoutUrl` string, uri, nullable
    - `expiresAt` string, date-time, nullable
    - `paidAt` string, date-time, nullable
    - `canceledAt` string, date-time, nullable
    - `metadata` object
    - `payout` Payout
      - `id` string, required
      - `amountMinor` integer, required
      - `currency` string, required
      - `status` string, required
      - `failureReason` string, nullable
      - `transferredAt` string, date-time, nullable
      - `createdAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `400`: The request was invalid.
- `401`: The API key or access token is missing, invalid, expired, or revoked.
- `403`: The principal does not have the required scope or resource access.
- `404`: The resource was not found for this principal.

---

[API](https://skmtc.dev/darwin/apis/darwin-api.md) · [All operations](https://skmtc.dev/darwin/apis/darwin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/darwin/apis/darwin-api/revisions/56166fce7bfb?raw)
