---
title: "Get External Card Profile"
method: GET
path: "/programs/{programCode}/externalcards/{customerToken}"
tags: ["ExternalCards"]
---

# Get External Card Profile

`GET /programs/{programCode}/externalcards/{customerToken}`

Retrieves the external card profile for a customer using the provided customer token.

## Path parameters

- `programCode` string, required
- `customerToken` string, required

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- GetExternalCardProfileResponse — Represents the response returned after retrieving external card profile information for a customer. Contains a list of card profile details for all linked external cards. Inherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.
  - `cardProfileInformation` CardProfileInformation[], nullable — The list of external card profile information associated with the customer.
    - `customerToken` string, nullable — The unique customer token associated with the external card.
    - `linkId` string, nullable — The unique link identifier for the external card.
    - `expirationYear` string, nullable — The expiration year of the external card (e.g., "2027").
    - `expirationMonth` string, nullable — The expiration month of the external card (e.g., "08").
    - `last4Digits` string, nullable — The last four digits of the external card number.
    - `bin` string, nullable — The Bank Identification Number (BIN) of the external card.
    - `network` string, nullable — The payment network of the external card (e.g., "Visa", "Mastercard").
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/revisions/666553766b78/schema)
