On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/cybs/en-us/urban-mobility/developer/ctv/rest/mass-transit/um-processing-token-intro/um-processing-token-get-pi-intro.md)  
Filter  
FILTER BY TAG

Retrieving Payment Instrument Details {#um-processing-token-get-pi-intro}
=========================================================================

This section describes how to send a `GET` request to retrieve payment instrument details, which include the card details, card hash, and instrument identifier.

Endpoint
--------

**Test:** `GET ``https://apitest.cybersource.com``/tms/v1/paymentinstruments/{id}`  
**Production:** `GET ``https://api.cybersource.com``/tms/v1/paymentinstruments/{id}`  
The `id` is the transient token identifier assigned by the contactless terminal.

REST Example: Retrieving Payment Instrument Details Using the REST API {#um-processing-token-get-pi-ex-rest}
============================================================================================================

Request

```
{
}
```

Response 200

```
{
    "_links": {
        "self": {
            "href": https://apitest.cybersource.com/tms/v1/paymentinstruments/CD98B27F62A8AECBE053AF598E0AF965
        }
    },
    "id": "CD98B27F62A8AECBE053AF598E0AF965",
    "object": "paymentInstrument",
    "state": "ACTIVE",
    "type": "cardHash",
    "card": {
        "expirationMonth": "12",
        "expirationYear": "2030",
        "type": "visa",
        "hash": "7400A4154369E584BA36CA19B50AAA3F9AE97FEAE64B3E87B2B93CF8FBC97777"
    },
    "_embedded": {
        "instrumentIdentifier": {
            "_links": {
                "self": {
                    "href": https://apitest.cybersource.com/tms/v1/instrumentidentifiers/CD616772D8355EA6E053AF598E0AE794
                },
                "paymentInstruments": {
                    "href": https://apitest.cybersource.com/tms/v1/instrumentidentifiers/CD616772D8355EA6E053AF598E0AE794/paymentinstruments
                }
            },
            "id": "CD616772D8355EA6E053AF598E0AE794",
            "object": "instrumentIdentifier",
            "state": "ACTIVE",
            "card": {
                "number": "476173XXXXXXXXXX"
            },
            "processingInformation": {
                "authorizationOptions": {
                    "initiator": {
                        "merchantInitiatedTransaction": {
                            "previousTransactionId": "016153570198200"
                        }
                    }
                }
            }
        }
    }
}
```

RELATED TO THIS PAGE

