logo
TransactionsCard statement

Card statement

Returns card transactions for a date range. The response is paginated and includes card, category, cost center, status, and attachments.

Rules:

  • The range between startDate and endDate must not exceed 62 days.
  • limit must be between 5 and 100 per page.
  • Use nextPageStartKey to paginate (cursor).
curl -X GET "https://api-sandbox.contasimples.com/statements/v1/credit-card?limit=50&startDate=2025-09-01&endDate=2025-09-30&types=["PURCHASE"]&nextPageStartKey=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "transactions": [
    {
      "id": "example_string",
      "operation": "CASH_IN",
      "transactionDate": "2025-09-15T14:30:00.000Z",
      "status": "PENDING",
      "isCanceled": true,
      "type": "PURCHASE",
      "merchant": "example_string",
      "amountBrl": 150.75,
      "exchangeRateUsd": 0,
      "card": {
        "id": "example_string",
        "maskedNumber": "example_string",
        "responsibleName": "John Doe",
        "responsibleEmail": "user@example.com",
        "type": "VIRTUAL"
      },
      "category": {
        "id": "example_string",
        "name": "Food & dining"
      },
      "costCenter": {
        "id": "example_string",
        "name": "Marketing"
      },
      "isConciled": true,
      "installment": 1,
      "attachments": [
        {
          "id": "example_string",
          "name": "receipt.pdf",
          "type": "image/jpeg",
          "_links": {
            "content": {
              "href": "/attachments/v1/content/{id}",
              "rel": "GET"
            }
          }
        }
      ],
      "notes": "example_string"
    }
  ],
  "nextPageStartKey": "example_string"
}
GET
/statements/v1/credit-card
GET
Bearer Token
Bearer Tokenstring
Required

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}
query
limitinteger
Required

Maximum number of transactions per page. Min: 5, max: 100.

Min: 5 • Max: 100
query
startDatestring
Required

Start of the date range (YYYY-MM-DD). The full range may not exceed 62 days.

Format: date
query
endDatestring
Required

End of the date range (YYYY-MM-DD). The full range may not exceed 62 days.

Format: date
query
typesarray

Optional filter by transaction type(s).

query
nextPageStartKeystring

Opaque pagination token from the previous response. Pass it back unchanged to fetch the next page.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Query Parameters

limitinteger
Required

Maximum number of transactions per page. Min: 5, max: 100.

startDatestring
Required

Start of the date range (YYYY-MM-DD). The full range may not exceed 62 days.

endDatestring
Required

End of the date range (YYYY-MM-DD). The full range may not exceed 62 days.

typesarray

Optional filter by transaction type(s).

nextPageStartKeystring

Opaque pagination token from the previous response. Pass it back unchanged to fetch the next page.

Responses

transactionsarray
Required

Transactions in the requested range.

nextPageStartKeystring

Next page token. If absent, there is no next page. Pass to nextPageStartKey.