---
title: "Getcustomerconsolidatablemerchants"
method: GET
path: "/v2/giftcards/customer/consolidatable-merchants"
tags: ["Gift Cards"]
---

# Getcustomerconsolidatablemerchants

`GET /v2/giftcards/customer/consolidatable-merchants`

## Request

- Base URL: `https://api.loyalty.dog`
- URL: `https://api.loyalty.dog/v2/giftcards/customer/consolidatable-merchants`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/loyalty/apis/loyaltydog/docs/v2/giftcards/customer/consolidatable-merchants/get.ts> (a function with typed inputs; its response is checked against the schema)

Get list of merchants and their number of active, positive-balance cards for a customer.

## Query parameters

- `programId` string
- `cardId` string

## Headers

- `X-Eposn-Customer-Token` string, nullable
- `X-Eposn-Merchant-Token` string, nullable

## Response `200`

Successful Response

- ConsolidatableMerchantResponse[]
  - `merchantId` string, required
  - `merchantName` string, required
  - `cardCount` integer, required
  - `totalBalance` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/loyalty/apis/loyaltydog.md) - [All operations](https://skmtc.dev/loyalty/apis/loyaltydog/llms.txt) - [OpenAPI document](https://skmtc.dev/loyalty/apis/loyaltydog/revisions/5803242b0551?raw)
