---
title: "totalCustomerAmount"
method: GET
path: "/api/customer/purchases/totals"
tags: ["purchase-customer-resource"]
---

# totalCustomerAmount

`GET /api/customer/purchases/totals`

## Request

- Base URL: `https://api.neonclub.ir`
- URL: `https://api.neonclub.ir/api/customer/purchases/totals`
- Auth: none declared
- TypeScript: <https://skmtc.dev/neonclub/apis/ayria-api/docs/api/customer/purchases/totals/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

OK

- PspPurchaseTotalDTO
  - `creditAmount` number
  - `creditAmountT` number
  - `customerAmount` number
  - `customerAmountT` number
  - `discountAmount` number
  - `discountAmountT` number
  - `insuranceAmount` number
  - `insuranceAmountT` number

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/neonclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/neonclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neonclub/apis/ayria-api/revisions/1f6b876e9f89?raw)
