---
updatedAt: 2025-11-28T22:30:14.000Z
agentTools:
  projectIndex: https://docs.bcb.group/llms.txt
---

# List Payments

List the payments for an account

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payments API",
    "description": "This is the api documentation for the BCB Group Payments API",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.bcb.group",
      "description": "Production"
    },
    {
      "url": "https://api.uat.bcb.group",
      "description": "Sandbox"
    }
  ],
  "paths": {
    "/v1/payments/{accountId}": {
      "get": {
        "operationId": "Payments_ListPaymentsForAccountV1",
        "summary": "List Payments",
        "description": "List the payments for an account",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account id",
            "schema": {
              "example": 123,
              "type": "integer",
              "default": ""
            }
          },
          {
            "name": "dateFrom",
            "required": false,
            "in": "query",
            "description": "The date to get results from",
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "name": "dateTo",
            "required": false,
            "in": "query",
            "description": "The date to get results to",
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "name": "pageIndex",
            "required": false,
            "in": "query",
            "description": "The page offset of results to return",
            "schema": {
              "minimum": 0,
              "default": 0,
              "type": "number"
            }
          },
          {
            "name": "pageSize",
            "required": false,
            "in": "query",
            "description": "The limit of number of results to return",
            "schema": {
              "minimum": 1,
              "maximum": 1000,
              "default": 1000,
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The payments were retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedGetPaymentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "No payment was found for the account with the given transaction id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "tags": [
          "Payments"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "The description of the error."
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP Status code representing the error."
          }
        },
        "required": [
          "message",
          "statusCode"
        ]
      },
      "PagedGetPaymentResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "number",
            "description": "The total number of results in the filtered, un-paged dataset"
          },
          "results": {
            "description": "The paged result set",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "count",
          "results"
        ]
      }
    }
  }
}
```