---
updatedAt: 2025-11-13T14:40:42.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/developers/v1.0-Global-Integration/llms.txt
---

# Checkout instrument

Retrieve the First Data card details.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Checkout API",
    "version": "3.0"
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "paths": {
    "/checkout/{checkout_id}/checkout_instrument": {
      "get": {
        "tags": [
          "Checkout"
        ],
        "operationId": "checkout_instrument",
        "summary": "Checkout instrument",
        "description": "Retrieve the First Data card details.",
        "parameters": [
          {
            "in": "path",
            "name": "checkout_id",
            "description": "A `checkout_token` represents the purchase and customer informations on purchase (e.g tokenization).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "country-code",
            "description": "Param used to identify the country in which Affirm is used and uses an \"alpha-3\" three-letter country code. Supported countries are the United States (`USA`), Canada (`CAN`), and the United Kingdom (`GBR`). If no value is entered, `country-code` will default to `USA`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "affirm-locale",
            "description": "Optional param used to identify the language used in the browser expressed as the following- `en_US` if the `country-code` is set to `USA`, `en_CA` if the `country-code` is set to `CAN`, `fr_CA` for French Canadian, and if the `country-code` is set to `GBR` the `affirm-locale` will be `en_GB` for British English. If an `affirm-locale` is not defined, it will automatically default to English.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CheckoutInstrument"
                }
              }
            }
          },
          "400": {
            "description": "HTTP 400 Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorBadRequest"
                }
              }
            }
          },
          "401": {
            "description": "HTTP 401 Unauthorized",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorUnauthorized"
                }
              }
            }
          },
          "404": {
            "description": "HTTP 404 Not Found",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorNotFound"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.global.affirm.com/api/v2"
    },
    {
      "url": "https://api.global.sandbox.affirm.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "ErrorBadRequest": {
        "properties": {
          "message": {
            "description": "The error message.",
            "example": "Bad Request",
            "type": "string"
          },
          "status_code": {
            "description": "The HTTP status code.",
            "example": 400,
            "type": "integer"
          },
          "type": {
            "description": "The error type.",
            "example": "BAD_REQUEST",
            "type": "string"
          },
          "code": {
            "description": "The error type.",
            "example": "BAD_REQUEST",
            "type": "string"
          }
        }
      },
      "ErrorNotFound": {
        "properties": {
          "message": {
            "description": "The error message.",
            "example": "Not Found",
            "type": "string"
          },
          "status_code": {
            "description": "The HTTP status code.",
            "example": 404,
            "type": "integer"
          },
          "type": {
            "description": "The error type.",
            "example": "NOT_FOUND",
            "type": "string"
          },
          "code": {
            "description": "The error type.",
            "example": "NOT_FOUND",
            "type": "string"
          },
          "token": {
            "description": "The error response embedded in a JWT token",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorUnauthorized": {
        "properties": {
          "message": {
            "description": "The error message.",
            "example": "Unauthorized",
            "type": "string"
          },
          "status_code": {
            "description": "The HTTP status code.",
            "example": 401,
            "type": "integer"
          },
          "type": {
            "description": "The error type.",
            "example": "UNAUTHORIZED",
            "type": "string"
          },
          "code": {
            "description": "The error type.",
            "example": "UNAUTHORIZED",
            "type": "string"
          },
          "token": {
            "description": "The error response embedded in a JWT token",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CheckoutInstrument": {
        "type": "object",
        "properties": {
          "number": {
            "description": "The First Data card number.",
            "example": 41111111111111110,
            "type": "integer"
          },
          "pin": {
            "description": "The First Data card pin",
            "example": 1234,
            "type": "string"
          },
          "charge_id": {
            "description": "The Affirm Charge ID",
            "example": "UDUR-0VDX",
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Read Checkout](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/read_checkout-1.md)
* [Store](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/store-1.md)
* [Direct](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/direct-1.md)
* [Update Checkout](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/update_checkout-1.md)
* [Resend Checkout](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/resend_checkout-1.md)