# POST /Indoor/api/getDbttransactionByCardrefCustomernum

**Resource:** [Transactions](../resources/Transactions.md)
**Service that lists in-period debit transactions**
**Operation ID:** `getDbttransactionByCardrefCustomernum`

Retrieves DBT transactions for a given card reference or customer number. 
Accepts GetDbttransactionByCardrefCustomernumRequest with GetDbttransactionByCardrefCustomernumParam containing filters such as CustomerNumber, MainCardRefNumber, CardSeqNumber, TransactionDateBegin, TransactionDateEnd, MCC, RRN, TRN_STATUS, TRN_CODE_MATRIX_ID, ResponseCode, NetworkType, AuthorizationMatchStatus, MinAmount, MaxAmount, EmbossName, SourceNetwork. 
Returns GetDbttransactionByCardrefCustomernumResponse containing a list of GetDbttransactionByCardrefCustomernumResult items. 
Each result item includes transaction details such as PAN_ENTRY_MODE, MASKED_CARD_NUMBER, MAIN_CARD_REF_NUMBER, CUSTOMER_NUMBER, MAIN_CUSTOMER_NUMBER, PRODUCT, CHANNEL_TYPE_DESCRIPTION, NETWORK_DESCRIPTION, TERMINAL_TYPE, SETTLEMENT_AMOUNT, SETTLEMENT_CURRENCY, CLEARING_NUMBER, CLEARING_CHANNEL, CLEARING_DATE, TRN_CODE_MATRIX_DESC, TRN_AMOUNT, TRN_CURRENCY, LOCAL_AMOUNT, LOCAL_CURRENCY, TRN_DATE, EARNED_REWARD_MERCHANT, EARNED_REWARD_BANK, REWARD_TYPE_DESCRIPTION, MCC_DESCRIPTION, AUTHORIZATION_NUMBER, TERMINAL_NUMBER, MERCHANT_NAME, MERCHANT_CITY, MERCHANT_COUNTRY_CODE, BKM_UNIQUE_MERCHANT_ID, MERCHANT_AMEX_ID, INVOICE_NUMBER, DISPLAY_AT_CHANNELS, TRN_DESCRIPTION, EOD_DATE, TRN_ORIGIN, ACQ_REF_NUMBER, CAMPAIGN_CODE_ACQ, CAMPAIGN_CODE_ISS, EARNED_REWARD_CAMPAIGN_ISS, EARNED_REWARD_CAMPAIGN_ACQ, REF_UTID, UTID, REQUEST_DATE, OFFLINE_FLAG, EMBOSS_NAME, CARD_SEQ_NUMBER, AUTHORIZATION_MATCH_STATUS, CURRENCY_CODE_DESCRIPTION, MATCH_STATUS_DESCRIPTION, RRN, TRN_STATUS_DESCRIPTION, BILLING_AMOUNT, BILLING_CURRENCY, PIN_USAGE, IS_CHIP_FLAG. 
Calls _intRepository.GetDbttransactionByCardrefCustomernum() and maps results to internal structure.

## Request Body

Get Dbttransaction By Cardref Customernum Request

**Required:** Yes

**Content Types:** `application/json`

**Schema:** [GetDbttransactionByCardrefCustomernumRequest](../schemas/Get/GetDbttransactionByCardrefCustomernumRequest.md)

## Responses

| Status | Description |
|--------|-------------|
| 200 | Success |
| 400 | (reference) |
| 404 | (reference) |
| 500 | (reference) |

**Success Response Schema:**

[GetDbttransactionByCardrefCustomernumResponse](../schemas/Get/GetDbttransactionByCardrefCustomernumResponse.md)

