---
title: "Get cards"
method: GET
path: "/profiles/{profileId}/cards"
tags: ["Profiles"]
---

# Get cards

`GET /profiles/{profileId}/cards`

## Request

- Base URL: `https://api.na.bambora.com/v1`
- URL: `https://api.na.bambora.com/v1/profiles/{profileId}/cards`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Sub-Merchant-Id`
- TypeScript: <https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis/docs/profiles/:profileId/cards/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all of the cards on the profile.

## Path parameters

- `profileId` string, required

## Response `200`

The Profile.

- ProfileGetCards
  - `code` number: code
  - `message` string: Message containing details of the request status
  - `customer_code` string: Unique payment profile ID
  - `card` ProfileCards[]
    - `card_id` integer: 1-indexed card ID. Total number of cards allowed is configured in your merchant account.
    - `function` string: Will say DEF for the default card
    - `name` string: Card holder name.
    - `number` string: Credit card number (PAN).
    - `expiry_month` string: eg. 02 for February.
    - `expiry_year` string: eg. 17 for 2017.
    - `card_type` 'AM' | 'DI' | 'JB' | 'MC' | 'NN' | 'VI': The type of card associated with the profile. AM = American Express, DI = Diners, JB = JCB, MC = MasterCard, NN = Discover, VI = Visa
    - `limited_use_card_token` string: Uniquely identifies specific cards in payment profile accounts. Used only for performing Method URL operations.

## Other responses

- `400`: Bad Request
- `401`: Authentication Failure
- `402`: Business Rule Violation or Decline
- `403`: Authorization Failure
- `405`: Invalid Request Method
- `500`: Internal Server Error

---

[API](https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis.md) - [All operations](https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis/revisions/d661d9e357a1?raw)
