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

# Get Transaction

# 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": {
    "/transactions/{transactionId}": {
      "get": {
        "summary": "Get Transaction",
        "description": "",
        "operationId": "get-transaction",
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "description": "application/json",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Fidel-Key",
            "in": "header",
            "description": "test/live secret API key.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transactionId",
            "in": "path",
            "description": "the ID of the transaction to receive",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "items": [
                        {
                          "currency": "GBP",
                          "auth": true,
                          "programId": "f1d18446-6447-4aad-a125-22ff525abc79",
                          "id": "195f6388-66d2-4216-9f86-ce73c1b82783",
                          "accountId": "d1bc1828-f904-48a3-8492-12272c81c117",
                          "created": "2022-07-21T13:06:37.488Z",
                          "authCode": "016200",
                          "updated": "2022-07-21T13:06:38.179Z",
                          "amount": 10.01,
                          "cleared": false,
                          "wallet": null,
                          "offer": null,
                          "datetime": "2022-07-21T14:06:37",
                          "descriptor": {
                            "merchantName": "Merchant name",
                            "storeName": "Store name"
                          },
                          "card": {
                            "id": "f26f54ef-8c36-4e8e-8cbd-5bdf7158fe65",
                            "firstNumbers": "444400",
                            "lastNumbers": "0301",
                            "scheme": "visa"
                          },
                          "location": {
                            "address": "53 Frith Street",
                            "city": "London",
                            "countryCode": "GBR",
                            "id": "6ceb1dfd-b36b-402b-9c88-0308b8b2156c",
                            "geolocation": null,
                            "postcode": "W1D4SN",
                            "state": null,
                            "timezone": "Europe/London",
                            "metadata": null
                          },
                          "brand": {
                            "id": "a33ebe89-df68-4ad4-819d-53b20caf2e4e",
                            "name": "Simple Coffee",
                            "logoURL": null,
                            "metadata": null
                          },
                          "identifiers": {
                            "mastercardAuthCode": null,
                            "mastercardRefNumber": null,
                            "mastercardTransactionSequenceNumber": null,
                            "MID": "TEST_MID_898afdeb-3f4e-4c73-8617-bbe82339a3c5",
                            "visaAuthCode": "016200"
                          },
                          "cardPresent": false
                        }
                      ],
                      "resource": "/v1/transactions/195f6388-66d2-4216-9f86-ce73c1b82783",
                      "status": 200,
                      "execution": 46.491595
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "currency": {
                            "type": "string",
                            "example": "GBP"
                          },
                          "auth": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "programId": {
                            "type": "string",
                            "example": "f1d18446-6447-4aad-a125-22ff525abc79"
                          },
                          "id": {
                            "type": "string",
                            "example": "195f6388-66d2-4216-9f86-ce73c1b82783"
                          },
                          "accountId": {
                            "type": "string",
                            "example": "d1bc1828-f904-48a3-8492-12272c81c117"
                          },
                          "created": {
                            "type": "string",
                            "example": "2022-07-21T13:06:37.488Z"
                          },
                          "authCode": {
                            "type": "string",
                            "example": "016200"
                          },
                          "updated": {
                            "type": "string",
                            "example": "2022-07-21T13:06:38.179Z"
                          },
                          "amount": {
                            "type": "number",
                            "example": 10.01,
                            "default": 0
                          },
                          "cleared": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "wallet": {},
                          "offer": {},
                          "datetime": {
                            "type": "string",
                            "example": "2022-07-21T14:06:37"
                          },
                          "descriptor": {
                            "type": "object",
                            "properties": {
                              "merchantName": {
                                "type": "string",
                                "example": "Merchant name"
                              },
                              "storeName": {
                                "type": "string",
                                "example": "Store name"
                              }
                            }
                          },
                          "card": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "f26f54ef-8c36-4e8e-8cbd-5bdf7158fe65"
                              },
                              "firstNumbers": {
                                "type": "string",
                                "example": "444400"
                              },
                              "lastNumbers": {
                                "type": "string",
                                "example": "0301"
                              },
                              "scheme": {
                                "type": "string",
                                "example": "visa"
                              }
                            }
                          },
                          "location": {
                            "type": "object",
                            "properties": {
                              "address": {
                                "type": "string",
                                "example": "53 Frith Street"
                              },
                              "city": {
                                "type": "string",
                                "example": "London"
                              },
                              "countryCode": {
                                "type": "string",
                                "example": "GBR"
                              },
                              "id": {
                                "type": "string",
                                "example": "6ceb1dfd-b36b-402b-9c88-0308b8b2156c"
                              },
                              "geolocation": {},
                              "postcode": {
                                "type": "string",
                                "example": "W1D4SN"
                              },
                              "state": {},
                              "timezone": {
                                "type": "string",
                                "example": "Europe/London"
                              },
                              "metadata": {}
                            }
                          },
                          "brand": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "a33ebe89-df68-4ad4-819d-53b20caf2e4e"
                              },
                              "name": {
                                "type": "string",
                                "example": "Simple Coffee"
                              },
                              "logoURL": {},
                              "metadata": {}
                            }
                          },
                          "identifiers": {
                            "type": "object",
                            "properties": {
                              "mastercardAuthCode": {},
                              "mastercardRefNumber": {},
                              "mastercardTransactionSequenceNumber": {},
                              "MID": {
                                "type": "string",
                                "example": "TEST_MID_898afdeb-3f4e-4c73-8617-bbe82339a3c5"
                              },
                              "visaAuthCode": {
                                "type": "string",
                                "example": "016200"
                              }
                            }
                          },
                          "cardPresent": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          }
                        }
                      }
                    },
                    "resource": {
                      "type": "string",
                      "example": "/v1/transactions/195f6388-66d2-4216-9f86-ce73c1b82783"
                    },
                    "status": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "execution": {
                      "type": "number",
                      "example": 46.491595,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"body\": \"{\\\"status\\\":401,\\\"error\\\":{\\\"code\\\":\\\"credential\\\",\\\"date\\\":\\\"2020-08-28T06:34:34.704Z\\\",\\\"message\\\":\\\"Credential is not authorized\\\"},\\\"execution\\\":64.860124}\",\n\t\"headers\": {\n\t\t\"Access-Control-Allow-Origin\": \"*\",\n\t\t\"Fidel-Request-Id\": \"75d451b9-4000-48e5-b52a-77a5a520204e\",\n\t\t\"Strict-Transport-Security\": \"max-age=31536000; includeSubDomains\"\n\t},\n\t\"statusCode\": 401\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "body": {
                      "type": "string",
                      "example": "{\"status\":401,\"error\":{\"code\":\"credential\",\"date\":\"2020-08-28T06:34:34.704Z\",\"message\":\"Credential is not authorized\"},\"execution\":64.860124}"
                    },
                    "headers": {
                      "type": "object",
                      "properties": {
                        "Access-Control-Allow-Origin": {
                          "type": "string",
                          "example": "*"
                        },
                        "Fidel-Request-Id": {
                          "type": "string",
                          "example": "75d451b9-4000-48e5-b52a-77a5a520204e"
                        },
                        "Strict-Transport-Security": {
                          "type": "string",
                          "example": "max-age=31536000; includeSubDomains"
                        }
                      }
                    },
                    "statusCode": {
                      "type": "integer",
                      "example": 401,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X GET \\\n  https://api.fidel.uk/v1/transactions/3c0c4ed5-b821-4390-8a9e-e7c140ec8358 \\\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
}
```