---
title: "Read Card"
method: GET
path: "/cards/{checkout_id}"
tags: ["Cards API"]
---

# Read Card

`GET /cards/{checkout_id}`

## Request

- Base URL: `https://api.global.affirm.com/api/v2`
- URL: `https://api.global.affirm.com/api/v2/cards/{checkout_id}`
- Auth: HTTP basic

Returns the card details.

## Path parameters

- `checkout_id` string, required

## Response `200`

HTTP 200 OK

- ReadCard
  - `billing_address` object
    - `city` string: The name of the city.
    - `state` string: The 2-letter postal abbreviation or full name of the U.S. state.
    - `zipcode` string: The 5-digit postal code of the address.
    - `line1` string: A U.S. street address.
    - `line2` string: The apartment number, floor or suite that complements the street address.
  - `checkout_token` string: The virtual card token.
  - `created` string: Timestamp of when the virtual card was generated.
  - `cvv` string: The virtual card security code.
  - `number` string: The virtual card number. In sandbox, we can set up this number to your payment gateway for testing.
  - `callback_id` string: Can be ignored, for Affirm internal use.
  - `cardholder_name` string: The customer's full name
  - `expiration` string: A four-digit expiration date in MMYY format.
  - `charge_ari` string: A unique identifier representing the charge.

## Other responses

- `400`: HTTP 400 Bad Request
- `401`: HTTP 401 Unauthorized
- `404`: HTTP 404 Not Found

---

[API](https://skmtc.dev/affirm/apis/cards-api.md) - [All operations](https://skmtc.dev/affirm/apis/cards-api/llms.txt) - [OpenAPI document](https://skmtc.dev/affirm/apis/cards-api/revisions/766342949ca9?raw)
