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

# Consultar Split de Pagamentos

> Liste todas as configurações de Split de Pagamento ou consulte uma configuração específica por ID.

Existem duas formas de consultar configurações de Split de Pagamento: listando todas as configurações cadastradas para a conta ou buscando uma configuração específica pelo seu `id`.

## Listar todas as configurações

Use `GET /baas/api/v1/split-payments/configurations` para obter todas as configurações de split cadastradas para a conta informada em `x-delfinance-account-id`.

<CodeGroup>
  ```bash cURL theme={null}
  curl --location 'https://apisandbox.delbank.com.br/baas/api/v1/split-payments/configurations' \
  --header 'x-delbank-api-key: {{apiKey}}' \
  --header 'x-delfinance-account-id: {{accountId}}'
  ```

  ```json Response theme={null}
  [
    {
      "id": 15,
      "bankAccountNumber": "CONTA_PAGADORA",
      "createdAt": "2025-09-19T20:04:38.112Z",
      "updatedAt": "2025-09-19T20:04:38.112Z",
      "instructions": [
        {
          "id": 18,
          "splitPaymentConfigurationId": 15,
          "amount": 10,
          "type": "PERCENTAGE",
          "transferType": "INTERNAL",
          "beneficiary": {
            "number": "654321",
            "branch": "0001",
            "participantIspb": "12345678",
            "type": "PAYMENT",
            "holder": {
              "document": "12345678901",
              "name": "Nome do Beneficiário",
              "email": "beneficiario@email.com",
              "phoneNumber": "85999999999",
              "type": "NATURAL"
            }
          }
        }
      ]
    }
  ]
  ```
</CodeGroup>

## Consultar uma configuração por ID

Use `GET /baas/api/v1/split-payments/configurations/:id` para obter os detalhes de uma configuração específica, incluindo todas as suas instruções.

<CodeGroup>
  ```bash cURL theme={null}
  curl --location 'https://apisandbox.delbank.com.br/baas/api/v1/split-payments/configurations/15' \
  --header 'x-delbank-api-key: {{apiKey}}' \
  --header 'x-delfinance-account-id: {{accountId}}'
  ```

  ```json Response theme={null}
  {
    "id": 15,
    "bankAccountNumber": "CONTA_PAGADORA",
    "createdAt": "2025-09-19T20:04:38.112Z",
    "updatedAt": "2025-09-19T20:04:38.112Z",
    "instructions": [
      {
        "id": 18,
        "splitPaymentConfigurationId": 15,
        "amount": 10,
        "type": "PERCENTAGE",
        "transferType": "INTERNAL",
        "beneficiary": {
          "number": "654321",
          "branch": "0001",
          "participantIspb": "12345678",
          "type": "PAYMENT",
          "holder": {
            "document": "12345678901",
            "name": "Nome do Beneficiário",
            "email": "beneficiario@email.com",
            "phoneNumber": "85999999999",
            "type": "NATURAL"
          }
        }
      }
    ]
  }
  ```
</CodeGroup>

## Referência da API

<CardGroup cols={2}>
  <Card title="Listar configurações" icon="list" href="/api-reference/split-pagamentos/listar-splits">
    `GET /baas/api/v1/split-payments/configurations`
  </Card>

  <Card title="Consultar configuração por ID" icon="magnifying-glass" href="/api-reference/split-pagamentos/consultar-split">
    `GET /baas/api/v1/split-payments/configurations/:id`
  </Card>
</CardGroup>
