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

# Transaction Daily

> Endpoint to retrieve daily transaction statistics

<RequestExample>
  ```bash Request Example theme={null}
  curl --request GET 'https://api.mayar.id/hl/v1/transactions/daily' \
   --header 'Authorization: Bearer Paste-Your-API-Key-Here'
  ```
</RequestExample>

<ResponseExample>
  ```json Response Example 200 theme={null}
  {
      "statusCode": 200,
      "data": {
          "date": "2026-05-08",
          "tpvCount": 125000,
          "trxCount": 10
      }
  }
  ```
</ResponseExample>

Endpoint:

<CodeGroup>
  ```Production Production theme={null}
  https://api.mayar.id/hl/v1/transactions/daily
  ```

  ```Sandbox Sandbox theme={null}
  https://api.mayar.club/hl/v1/transactions/daily
  ```
</CodeGroup>

## Authorization

<ResponseField name="Authorization" type="string" required>
  Example:

  `Authorization | Bearer Paste-Your-Api-Key-Here`
</ResponseField>

## Response

Successful Response

## Main Structure (Root)

<ResponseField name="statusCode" type="integer">
  Status code returned by the API.
</ResponseField>

<ResponseField name="data" type="object">
  Daily transaction statistics object.
</ResponseField>

### data Structure (Object)

<ResponseField name="data.date" type="string">
  Date of the transaction summary in YYYY-MM-DD format.
</ResponseField>

<ResponseField name="data.tpvCount" type="number">
  Total payment volume count for the specified date.
</ResponseField>

<ResponseField name="data.trxCount" type="number">
  Total number of transactions for the specified date.
</ResponseField>
