---
updatedAt: 2026-02-20T17:21:14.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/developers/llms.txt
---

# Read Card Details

Use Affirm's Read Card API to get credit card details on the server-side.

## How it works

The <Anchor label="Read Card endpoint" target="_blank" href="https://docs.affirm.com/developers/reference/read_card">Read Card endpoint</Anchor> returns the Affirm Virtual Card details associated with the `checkout_token` that was returned by your <Anchor label="client-side integration" target="_blank" href="doc:vcn-web">client-side integration</Anchor>.

> 🚧 Account Configuration
>
> To block credit card details from being shared on the client-side callback, you must contact Affirm to configure your account appropriately.

***

## Implementation steps

### 1. Retrieve the `checkout_token` on the <Anchor label="client-side" target="_blank" href="doc:vcn-web">client-side</Anchor>

```javascript
{
  callback_id: "5473686c-1dc4-4153-b9a7-abfccc00ef3a",
  checkout_token: "FA0UUFRGOND84S7C",
  created: "2020-01-24T20:00:50.712662",
  id: "FA0UUFRGOND84S7C"
}
```

### 2. Retrieve the full [card details](https://docs.affirm.com/developers/reference/read_card) via your server

```json
{
    "billing_address": {
        "street1": "123 Affirm St",
        "street2": "Apt 123",
        "city": "San Francisco",
        "region1_code": "CA",
        "postal_code": "94108",
        "country_code": "USA"
    },
    "checkout_token": "FA0UUFRGOND84S7C",
    "created": "2020-01-24T20:00:50.712662",
    "cvv": "123",
    "number": "4111111111111111",
    "callback_id": "5473686c-1dc4-4153-b9a7-abfccc00ef3a",
    "cardholder_name": "AffirmInc John doe",
    "expiration": "0121",
    "charge_ari": "35PW-YI16"
}
```

***

## Recommended topics

* <Anchor label="Managing Cards" target="_blank" href="https://docs.affirm.com/developers/docs/managing-cards">Managing Cards</Anchor>
* <Anchor label="Cancel a Card" target="_blank" href="https://docs.affirm.com/developers/docs/cancel-a-card">Cancel a Card</Anchor>
* <Anchor label="Finalize a Card" target="_blank" href="https://docs.affirm.com/developers/docs/finalize-a-card">Finalize a Card</Anchor>
* <Anchor label="About Affirm Virtual Card (VCN)" target="_blank" href="https://docs.affirm.com/payments/docs/vcn-overview">About Affirm Virtual Card (VCN)</Anchor>

# Sibling pages

* [Cancel a Card](https://docs.affirm.com/developers/docs/cancel-a-card.md)
* [Finalize a Card](https://docs.affirm.com/developers/docs/finalize-a-card.md)