# Transaction summary

`GET /service/@id/tinopay/transactions/summary` · TinoPay, service owner's sign-in token

Same filters as the transaction history, not paginated: `{count, total_in, total_out}`.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/service/@id/tinopay/transactions/summary` |
| Method | `GET` |
| Authentication | the TinoPay service owner's sign-in token (`Authorization: Bearer <token>`); the `/v1` gateway does not expose TinoPay yet |
| Content-Type | — (no body) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | int | yes | TinoPay service ID |
| `bank_account_id` | query | string | — | — |
| `virtual_account` | query | string | — | — |
| `type` | query | string | — | in \| out |
| `from` | query | string | — | Y-m-d |
| `to` | query | string | — | Y-m-d |
| `q` | query | string | — | — |
| `webhook_status` | query | string | — | none \| failed \| success |

## Example request

```bash
curl "https://api.tino.vn/service/100001/tinopay/transactions/summary" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is the TinoPay service owner's sign-in token. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): no dedicated function yet, use `client.request("GET", "/service/@id/tinopay/transactions/summary")`.

## Example response

```json
{
 "data": {
  "count": 2,
  "total_in": 100000,
  "total_out": 30000
 }
}
```

Sample built from the TinoPay API v1 documentation (Tino relays TinoPay data as is); values are examples.
