---
title: "Retrieve card links for a source customer profile."
method: GET
path: "/programs/{programCode}/externalAccounts/sourceCustomers/{customerToken}/links"
tags: ["ExternalAccount"]
---

# Retrieve card links for a source customer profile.

`GET /programs/{programCode}/externalAccounts/sourceCustomers/{customerToken}/links`

Retrieve all card links associated with a source customer profile.

## Path parameters

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

## Headers

- `X-GD-RequestId` string, required
- `X-GD-CustomerType` string

## Response `200`

Card links retrieved successfully.

- GetCardLinksResponse — Get Card Links Response – Represents the response containing lists of card and bank links associated with a customer profile. Provides detailed information for each linked card and bank, including identifiers, cardholder/bankholder information, account details, and link status. Inherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.
  - `cardInformation` ProfileInformation[], nullable — List of linked card profiles for the customer. Each Gd.Bos.DataTransfer.Response.ProfileInformation contains cardholder and card details.
    - `bankName` string, nullable — The name of the bank associated with the card.
    - `firstName` string, nullable — Cardholder's first name.
    - `lastName` string, nullable — Cardholder's last name.
    - `nickName` string, nullable — Cardholder's nickname for the card.
    - `zipCode` string, nullable — ZIP code associated with the cardholder's address.
    - `linkDate` string, date-time — The date the card was linked to the profile.
    - `status` string, nullable — The status of the card link (e.g., Active, Inactive, Deleted).
    - `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").
  - `bankInformation` BankProfileInformation[], nullable — List of linked bank profiles for the customer. Each Gd.Bos.DataTransfer.Response.BankProfileInformation contains bank account and holder details.
    - `paymentInstrumentType` string, nullable — The type of payment instrument (e.g., BankAccount, Card).
    - `abaRoutingNumber` string, nullable — ABA routing number for the bank account.
    - `bankAccountNumber` string, nullable — Bank account number.
    - `bankAccountType` string, nullable — Type of bank account (e.g., Checking, Savings).
    - `bankName` string, nullable — The name of the bank associated with the card.
    - `firstName` string, nullable — Cardholder's first name.
    - `lastName` string, nullable — Cardholder's last name.
    - `nickName` string, nullable — Cardholder's nickname for the card.
    - `zipCode` string, nullable — ZIP code associated with the cardholder's address.
    - `linkDate` string, date-time — The date the card was linked to the profile.
    - `status` string, nullable — The status of the card link (e.g., Active, Inactive, Deleted).
    - `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/versions/666553766b78/schema)
