# Loyalty Cards

Loyalty Card types, issuance, withdrawals in a Visit and manual transactions

 - [GET /loyalty/client_cards/{client_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/get_loyalty_card_list_by_client_id.md): Returns a list of customer cards with programs that are active in this location The attributes in the response to the request completely match the "Get a list of issued cards by phone number" metho
 - [GET /loyalty/cards/{phone}/{chain_id}/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/get_loyalty_card_list_by_phone.md): Returns a list of customer cards with programs that are active in this location | Attribute | Type | Description | | --- | --- | --- | | id | int | Loyalty card ID | | balance | decimal | Loyalty car
 - [GET /loyalty/card_types/salon/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/get_loyalty_card_type_list.md): Returns a list of card types that are valid for the given location. The attributes and their descriptions match those defined in the "Collection of Card Types Available to the Client" method descri
 - [GET /loyalty/card_types/client/{location_id}/{phone}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/get_loyalty_card_type_list_for_client.md): Returns a list of card types that are available for issuance to a location client. | Attribute | Type | Description | | --- | --- | --- | | id | int | Card type identifier | | title | string | Card t
 - [GET /chains/{chain_id}/loyalty/card_types](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/get_chain_loyalty_card_type_list.md)
 - [POST /loyalty/cards/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/issue_loyalty_card.md): | Attribute | Type | Description | |----------------------|--------|----------------- ------------------------------| | loyalty_card_number | number | Loyalty card number | | loyalty_card_type_id | nu
 - [DELETE /loyalty/cards/{location_id}/{card_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/remove_loyalty_card.md)
 - [POST /locations/{location_id}/loyalty/cards/{card_id}/manual_transaction](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/create_loyalty_card_transaction.md): Manual withdraw/deposit to loyalty card in location
 - [POST /chains/{chain_id}/loyalty/cards/{card_id}/manual_transaction](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/create_chain_loyalty_card_transaction.md): Manual withdraw/deposit to loyalty card in chain
 - [POST /visit/loyalty/apply_card_withdrawal/{location_id}/{card_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/apply_loyalty_card_deduction.md): The amount deducted will not exceed the available bonus balance. If the value is set to 0, no write-off transaction will occur
 - [POST /visit/loyalty/cancel_card_withdrawal/{location_id}/{card_id}](https://developer.alteg.io/en/b2b-v1/openapi/loyalty-cards/cancel_loyalty_card_withdrawal.md): Cancellation of write-off from the loyalty card.
