---
updatedAt: 2026-07-31T14:22:21.000Z
agentTools:
  projectIndex: https://reference.fidel.uk/llms.txt
---

# Check Active Offer on Card

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fidel-api",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.fidel.uk/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Fidel-Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/offers/{offerId}/cards/{cardId}": {
      "get": {
        "summary": "Check Active Offer on Card",
        "description": "",
        "operationId": "get-active-offer-on-card",
        "parameters": [
          {
            "name": "offerId",
            "in": "path",
            "description": "Id of the offer.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "cardId",
            "in": "path",
            "description": "Id of the card.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Content-Type",
            "in": "header",
            "description": "application/json",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Fidel-Key",
            "in": "header",
            "description": "test/live API secret key.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "exists": {
                    "value": "{\n  \"count\": 1,\n  \"items\": [\n    {\n      \"scheme\": \"visa\",\n      \"lastNumbers\": \"4002\",\n      \"type\": \"visa\",\n      \"expDate\": \"2022-12-31T23:59:59.999Z\",\n      \"expYear\": 2022,\n      \"countryCode\": \"GBR\",\n      \"id\": \"aef3e34e-725f-470a-899a-740ebe4aae5e\",\n      \"live\": false,\n      \"created\": \"2020-07-29T15:48:15.615Z\",\n      \"firstNumbers\": \"444400\",\n      \"accountId\": \"3693ac7e-3e2b-432c-8c60-2b786453ca9b\",\n      \"expMonth\": 12,\n      \"cardId\": \"6c252fd4-d62a-4a32-8004-47ace04c438a\",\n      \"updated\": \"2020-07-29T15:48:15.615Z\",\n      \"programId\": \"ddd095b8-8db8-4d92-894b-d9c1c0c66d9e\"\n    }\n  ],\n  \"exists\": true,\n  \"resource\": \"/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/aef3e34e-725f-470a-899a-740ebe4aae5e\",\n  \"status\": 200,\n  \"execution\": 131.024319\n}"
                  },
                  "doesn't exist": {
                    "value": "{\n  \"count\": 0,\n  \"items\": [],\n  \"exists\": false,\n  \"resource\": \"/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/e49796a0-ea4b-4a85-876b-c79713a96f62\",\n  \"status\": 200,\n  \"execution\": 120.44427\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "exists",
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "scheme": {
                                "type": "string",
                                "example": "visa"
                              },
                              "lastNumbers": {
                                "type": "string",
                                "example": "4002"
                              },
                              "type": {
                                "type": "string",
                                "example": "visa"
                              },
                              "expDate": {
                                "type": "string",
                                "example": "2022-12-31T23:59:59.999Z"
                              },
                              "expYear": {
                                "type": "integer",
                                "example": 2022,
                                "default": 0
                              },
                              "countryCode": {
                                "type": "string",
                                "example": "GBR"
                              },
                              "id": {
                                "type": "string",
                                "example": "aef3e34e-725f-470a-899a-740ebe4aae5e"
                              },
                              "live": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              },
                              "created": {
                                "type": "string",
                                "example": "2020-07-29T15:48:15.615Z"
                              },
                              "firstNumbers": {
                                "type": "string",
                                "example": "444400"
                              },
                              "accountId": {
                                "type": "string",
                                "example": "3693ac7e-3e2b-432c-8c60-2b786453ca9b"
                              },
                              "expMonth": {
                                "type": "integer",
                                "example": 12,
                                "default": 0
                              },
                              "cardId": {
                                "type": "string",
                                "example": "6c252fd4-d62a-4a32-8004-47ace04c438a"
                              },
                              "updated": {
                                "type": "string",
                                "example": "2020-07-29T15:48:15.615Z"
                              },
                              "programId": {
                                "type": "string",
                                "example": "ddd095b8-8db8-4d92-894b-d9c1c0c66d9e"
                              }
                            }
                          }
                        },
                        "exists": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "resource": {
                          "type": "string",
                          "example": "/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/aef3e34e-725f-470a-899a-740ebe4aae5e"
                        },
                        "status": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "execution": {
                          "type": "number",
                          "example": 131.024319,
                          "default": 0
                        }
                      }
                    },
                    {
                      "title": "doesn't exist",
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "items": {
                          "type": "array"
                        },
                        "exists": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "resource": {
                          "type": "string",
                          "example": "/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/e49796a0-ea4b-4a85-876b-c79713a96f62"
                        },
                        "status": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "execution": {
                          "type": "number",
                          "example": 120.44427,
                          "default": 0
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"resource\": \"/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/e49796a0-ea4b-4a85-876b-c79713a96f63\",\n  \"status\": 400,\n  \"error\": {\n    \"code\": \"map\",\n    \"date\": \"2020-07-29T16:32:22.062Z\",\n    \"message\": \"Card does not exist\"\n  },\n  \"execution\": 103.944886\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "resource": {
                      "type": "string",
                      "example": "/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/e49796a0-ea4b-4a85-876b-c79713a96f63"
                    },
                    "status": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "example": "map"
                        },
                        "date": {
                          "type": "string",
                          "example": "2020-07-29T16:32:22.062Z"
                        },
                        "message": {
                          "type": "string",
                          "example": "Card does not exist"
                        }
                      }
                    },
                    "execution": {
                      "type": "number",
                      "example": 103.944886,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X GET \\\n  https://api.fidel.uk/v1/offers/0b31ee54-1def-4b46-afca-151f2ed1bce2/cards/aef3e34e-725f-470a-899a-740ebe4aae5e \\\n  -H 'content-type: application/json' \\\n  -H 'fidel-key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```