---
agentTools:
  projectIndex: https://cypherfacemerchant.readme.io/llms.txt
---

# Extract Card details

```
curl --location 'https://staging.cypherface.com/api/card/extract/' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudElkIjoiNjdjNmU3OGJjMTA4MDNmMGZkMDM1NDNkIiwieEFwaUtleSI6IjA0Zjc3YjQ3LWIyYWUtNDNkNy1hODg2LTBiOTI1OTI2YzcyMyIsInR5cGUiOiJtZXJjaGFudFVzZXIiLCJpYXQiOjE3NTE0NjEyODIsImV4cCI6MTc1MTYzNDA4Mn0.KJvgR5DikTZZjGs6ZdFhEWTfriuz72zYkYdraPWHjv8' \
--data '{
    "userId": "12345",
    "imageKey": "analyze/card/68550265298de261f4aa84cf/68550265298de261f4aa84cf-1750422627665.jpg"
}'
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://staging.cypherface.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/card/extract/": {
      "post": {
        "summary": "Extract Card details",
        "description": "",
        "operationId": "extract-card-details",
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudElkIjoiNjdjNmU3OGJjMTA4MDNmMGZkMDM1NDNkIiwieEFwaUtleSI6IjA0Zjc3YjQ3LWIyYWUtNDNkNy1hODg2LTBiOTI1OTI2YzcyMyIsInR5cGUiOiJtZXJjaGFudFVzZXIiLCJpYXQiOjE3NTE0NjEyODIsImV4cCI6MTc1MTYzNDA4Mn0.KJvgR5DikTZZjGs6ZdFhEWTfriuz72zYkYdraPWHjv8"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "userId",
                  "imageKey"
                ],
                "properties": {
                  "userId": {
                    "type": "string",
                    "default": "1234567890"
                  },
                  "imageKey": {
                    "type": "string",
                    "description": "This imageKey is the new image key returned by the image upload URL generation API (/api/img/generate-url/)",
                    "default": "analyze/card/1234567890/image.jpg"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6792107c09391300702305ff:686505708a1829002ad2ead8"
}
```