---
updatedAt: 2025-05-28T00:20:07.000Z
agentTools:
  projectIndex: https://coinify.readme.io/llms.txt
---

# Get All Settlement Transactions

This endpoint allows you to receive all the transaction that occurred within a single settlement.

> ❕ You must request a separate API key to call Settlements API endpoints.
>
> Please contact <apisupport@coinify.com> with a request to obtain one.

# Response Overview

In this section, the properties of the `transactions` array are described.

```Text interface
{
	"transactions": [Transaction]
}
```

## Transaction Interface

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Property
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        merchantId
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The ID of the merchant.
      </td>
    </tr>

    <tr>
      <td>
        merchantName
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The name of the merchant.
      </td>
    </tr>

    <tr>
      <td>
        subaccountId
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The ID of the subaccount.
      </td>
    </tr>

    <tr>
      <td>
        subaccountName
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The name of the subaccount.
      </td>
    </tr>

    <tr>
      <td>
        referenceId
      </td>

      <td>
        String or NULL
      </td>

      <td>
        A unique identifier for the transaction reference type.
      </td>
    </tr>

    <tr>
      <td>
        referenceType
      </td>

      <td>
        String (Enum)
      </td>

      <td>
        A curated list with all available reference types of the transactions.\
        See below the Reference Type list for more details.
      </td>
    </tr>

    <tr>
      <td>
        amount
      </td>

      <td>
        String
      </td>

      <td>
        The amount added or deducted from the balance for the specific transaction.
      </td>
    </tr>

    <tr>
      <td>
        currency
      </td>

      <td>
        String
      </td>

      <td>
        The denomination currency of the amount.
      </td>
    </tr>

    <tr>
      <td>
        orderId
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The orderId of the entity.
      </td>
    </tr>

    <tr>
      <td>
        customerId
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The customer ID.
      </td>
    </tr>

    <tr>
      <td>
        customerEmail
      </td>

      <td>
        String or NULL
      </td>

      <td>
        The customer email.
      </td>
    </tr>

    <tr>
      <td>
        transactionTime
      </td>

      <td>
        String (DateTime)
      </td>

      <td>
        The UTC DateTime the transaction occurred.
      </td>
    </tr>
  </tbody>
</Table>

# referenceType

The following table provides the available reference types for a transaction:

| Type                                   | Description                                                                                                                         |
| :------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------- |
| adjustment                             | Manual positive or negative adjustment to the balance.                                                                              |
| payment\_intent                        | Balance increase due to a completed Payment Intent.                                                                                 |
| payment\_intent\_refund                | Balance decrease due to a full or partial refund of a Payment Intent.                                                               |
| payment\_intent\_refund\_fee           | Balance decrease due to a refund fee incurred for the created refund.                                                               |
| payment\_intent\_refund\_reversal      | Balance increase due to a refund being cancelled by the merchant.                                                                   |
| payment\_intent\_refund\_fee\_reversal | Balance increase due to a refund fee being cancelled.                                                                               |
| withdrawal                             | Balance decrease due to a completed Withdrawal.                                                                                     |
| withdrawal\_reversal                   | Balance increase due to [cancellation of Withdrawal](https://coinify.readme.io/reference/withdrawals-webhooks#withdrawalcancelled). |
| payout\_fee                            | Balance decrease due to the payout.                                                                                                 |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "payment-intent",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.payment.sandbox.coinify.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/settlements/{id}/transactions": {
      "get": {
        "summary": "Get All Settlement Transactions",
        "description": "This endpoint allows you to receive all the transaction that occurred within a single settlement.",
        "operationId": "get-all-settlement-transactions",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "A unique identifier for the settlement",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"transactions\": [\n    {\n      \"merchantId\": \"d560b17e-bae5-4fbf-8822-518273498c7a\",\n      \"merchantName\": \"Demo payment merchant\",\n      \"subaccountId\": \"9dfbb680-0662-47da-8d14-374c515c1c76\",\n      \"subaccountName\": \"Demo subaccount\",\n      \"referenceId\": \"3de4fe93-5afd-4692-bead-2431416dd0bb\",\n      \"referenceType\": \"payment_intent\",\n      \"amount\": \"45.42\",\n      \"currency\": \"USD\",\n      \"orderId\": \"123456\",\n      \"customerId\": \"6af46318-9e60-4390-8bf0-e042d7b96b21\",\n      \"customerEmail\": \"customer@coinify.com\",\n      \"transactionTime\": \"2023-09-10T11:27:11.892Z\"\n    },\n    {\n      \"merchantId\": \"d560b17e-bae5-4fbf-8822-518273498c7a\",\n      \"merchantName\": \"Demo payment merchant\",\n      \"subaccountId\": null,\n      \"subaccountName\": null,\n      \"referenceId\": \"cdd51ceb-5e21-4f76-ae93-44a83dc156d1\",\n      \"referenceType\": \"payment_intent_refund\",\n      \"amount\": \"-23.16\",\n      \"currency\": \"USD\",\n      \"orderId\": \"123456\",\n      \"customerId\": \"2281\",\n      \"customerEmail\": \"customer@coinify.com\",\n      \"transactionTime\": \"2023-09-11T11:27:11.892Z\"\n    },\n    {\n      \"merchantId\": \"d560b17e-bae5-4fbf-8822-518273498c7a\",\n      \"merchantName\": \"Demo payment merchant\",\n      \"subaccountId\": null,\n      \"subaccountName\": null,\n      \"referenceId\": \"cdd51ceb-5e21-4f76-ae93-44a83dc156d1\",\n      \"referenceType\": \"payment_intent_refund_fee\",\n      \"amount\": \"-5.36\",\n      \"currency\": \"USD\",\n      \"orderId\": \"123456\",\n      \"customerId\": \"2281\",\n      \"customerEmail\": \"customer@coinify.com\",\n      \"transactionTime\": \"2023-09-11T11:27:11.892Z\"\n    },\n    {\n      \"merchantId\": \"d560b17e-bae5-4fbf-8822-518273498c7a\",\n      \"merchantName\": \"Demo payment merchant\",\n      \"subaccountId\": null,\n      \"subaccountName\": null,\n      \"referenceId\": \"fb9b7091-e3fb-4e04-999f-ff4435858ebd\",\n      \"referenceType\": \"withdrawal\",\n      \"amount\": \"-30\",\n      \"currency\": \"USD\",\n      \"orderId\": \"9a620413-289a-4720-9ea0-8599994269dd\",\n      \"customerId\": \"3f2a704e-7ee4-42e1-b83e-bb2ef0cae869\",\n      \"customerEmail\": \"customer@coinify.com\",\n      \"transactionTime\": \"2023-09-12T11:27:11.892Z\"\n    },\n    {\n      \"merchantId\": \"d560b17e-bae5-4fbf-8822-518273498c7a\",\n      \"merchantName\": \"Demo payment merchant\",\n      \"subaccountId\": null,\n      \"subaccountName\": null,\n      \"referenceId\": null,\n      \"referenceType\": \"payout_fee\",\n      \"amount\": \"-25\",\n      \"currency\": \"USD\",\n      \"orderId\": null,\n      \"customerId\": null,\n      \"customerEmail\": null,\n      \"transactionTime\": \"2023-09-13T11:27:11.892Z\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "transactions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "merchantId": {
                            "type": "string",
                            "example": "d560b17e-bae5-4fbf-8822-518273498c7a"
                          },
                          "merchantName": {
                            "type": "string",
                            "example": "Demo payment merchant"
                          },
                          "subaccountId": {
                            "type": "string",
                            "example": "9dfbb680-0662-47da-8d14-374c515c1c76"
                          },
                          "subaccountName": {
                            "type": "string",
                            "example": "Demo subaccount"
                          },
                          "referenceId": {
                            "type": "string",
                            "example": "3de4fe93-5afd-4692-bead-2431416dd0bb"
                          },
                          "referenceType": {
                            "type": "string",
                            "example": "payment_intent"
                          },
                          "amount": {
                            "type": "string",
                            "example": "45.42"
                          },
                          "currency": {
                            "type": "string",
                            "example": "USD"
                          },
                          "orderId": {
                            "type": "string",
                            "example": "123456"
                          },
                          "customerId": {
                            "type": "string",
                            "example": "6af46318-9e60-4390-8bf0-e042d7b96b21"
                          },
                          "customerEmail": {
                            "type": "string",
                            "example": "customer@coinify.com"
                          },
                          "transactionTime": {
                            "type": "string",
                            "example": "2023-09-10T11:27:11.892Z"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"errorCode\": \"invalid_authentication\",\n    \"errorMessage\": \"Unknown API key\",\n    \"requestId\": \"17e5c3e9-510d-48b7-a6d4-1734cc504f79\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "example": "invalid_authentication"
                    },
                    "errorMessage": {
                      "type": "string",
                      "example": "Unknown API key"
                    },
                    "requestId": {
                      "type": "string",
                      "example": "17e5c3e9-510d-48b7-a6d4-1734cc504f79"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"errorCode\": \"not_found\",\n    \"errorMessage\": \"Settlement \\\"1a0cf5d2-8f5d-4608-a7d5-f55d5a13fc25\\\" not found\",\n    \"requestId\": \"763205e4-fcab-42b2-96d6-5ab73a14fc00\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "example": "not_found"
                    },
                    "errorMessage": {
                      "type": "string",
                      "example": "Settlement \"1a0cf5d2-8f5d-4608-a7d5-f55d5a13fc25\" not found"
                    },
                    "requestId": {
                      "type": "string",
                      "example": "763205e4-fcab-42b2-96d6-5ab73a14fc00"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```