# Misc: Get T/S pair info

Source: https://developer.avalara.com/products/communications/integration-guides/communications-integration/nsc3841071410893/

Guide: Communications

# Misc: Get T/S pair info

This example demonstrates how to retrieve a list of all T/S pairs. The response includes:

-   Transaction type

-   Service Type

-   Market type

-   Interface type

-   Input type

-   Whether the T/S pair is part of a bundle

-   Transaction type description

-   Service type description

-   T/S pair description

## Request

**View example**:

```
curl --location --request GET 'https://communicationsua.avalara.net/api/v2/afc/tspairs' \
--header 'client_id: 787' \
--header 'client_profile_id;' \
--header 'Authorization: Basic {Base64-encoded credentials}' \
--data-raw ''
```

## Response

**View example**:

```
[
    {
"TransactionType": 0,
"ServiceType": 0,
"MarketType": 6,
"InterfaceType": 1,
"InputType": 15,
"IsBundle": false,
"TransactionDescription": "No Tax",
"ServiceDescription": "No Tax",
"TSPairDescription": "No Tax/No Tax"
    },
    {
"TransactionType": 1,
"ServiceType": 1,
"MarketType": 1,
"InterfaceType": 1,
"InputType": 9,
"IsBundle": false,
"TransactionDescription": "Interstate",
"ServiceDescription": "Toll",
"TSPairDescription": "Interstate/Toll"
    },
    {
"TransactionType": 1,
"ServiceType": 2,
"MarketType": 1,
"InterfaceType": 1,
"InputType": 9,
"IsBundle": false,
"TransactionDescription": "Interstate",
"ServiceDescription": "Toll-Free",
"TSPairDescription": "Interstate/Toll-Free"
    },
    {
"TransactionType": 1,
"ServiceType": 3,
"MarketType": 1,
"InterfaceType": 1,
"InputType": 9,
"IsBundle": false,
"TransactionDescription": "Interstate",
"ServiceDescription": "WATS",
"TSPairDescription": "Interstate/WATS"
    },
   ...
]
```