---
updatedAt: 2025-02-20T00:12:49.000Z
agentTools:
  projectIndex: https://developers.credrails.com/llms.txt
---

# /api/v2/recon/transactions/backend

> 🚧
>
> Remember to pass the JWT token as a bearer token.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Credrails OpenBanking API",
    "description": "APIs that allows customers to share their financial data with authorized third parties, such as other banks and fintech companies, to access new financial services and products.",
    "license": {
      "name": "Credrails Website",
      "url": "http://www.credrails.com"
    },
    "version": "v2,3,0"
  },
  "externalDocs": {
    "description": "API Documentation",
    "url": "https://credrails.readme.io/docs/open-banking"
  },
  "servers": [
    {
      "url": "https://dev-openbanking.pub.credrails.com",
      "description": "Dev Testing Environment"
    }
  ],
  "tags": [
    {
      "name": "Recon",
      "description": "Reconcile transactions"
    }
  ],
  "paths": {
    "/api/v2/recon/transactions/backend": {
      "post": {
        "tags": [
          "Recon"
        ],
        "operationId": "getBackendTransaction",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinancialTransactionDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "FinancialTransactionDto": {
        "required": [
          "accountIdentifier",
          "country",
          "currency",
          "dateFrom",
          "dateGenerated",
          "dateTo",
          "financialProvider",
          "language",
          "requestId",
          "transactions",
          "version"
        ],
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "description": "The transaction payload schema version",
            "format": "int32"
          },
          "requestId": {
            "maxLength": 64,
            "minLength": 6,
            "pattern": "[\\w_/.-]+",
            "type": "string",
            "description": "A uuid representing the request from the user"
          },
          "language": {
            "type": "string",
            "description": "ISO 639-1 - A two letter (Alpha-2) representation of a language"
          },
          "dateGenerated": {
            "type": "string",
            "description": "ISO 8601 date representation on when the transaction statement was generated.",
            "format": "date-time"
          },
          "financialProvider": {
            "type": "string",
            "description": "Provider of the financial services (DTIs). We identify the providers by their swift codes if it exists or we codify their name e.g M-Pesa will be MPESA"
          },
          "accountIdentifier": {
            "type": "string",
            "description": "This could be an account identifier (account number for banks) or  (international phone number for mobile money) in the case of a mobile money"
          },
          "country": {
            "type": "string",
            "description": "ISO 3166 codes for a country where the account is domiciled."
          },
          "dateFrom": {
            "type": "string",
            "description": "ISO 8601 date representation on when the transaction retrieval starts at.",
            "format": "date-time"
          },
          "dateTo": {
            "type": "string",
            "description": "ISO 8601 date representation on when the transaction retrieval ends at.",
            "format": "date-time"
          },
          "currency": {
            "type": "string",
            "description": "ISO representation of currency"
          },
          "transactions": {
            "type": "array",
            "description": "List of trasnactions",
            "items": {
              "$ref": "#/components/schemas/TransactionDto"
            }
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          },
          "responseCode": {
            "type": "string",
            "description": "Response code as received from statement acquisition"
          },
          "description": {
            "type": "string",
            "description": "Description response message from statement acquisition"
          }
        }
      },
      "TransactionDto": {
        "required": [
          "currency",
          "description",
          "transactionDate",
          "valueDate"
        ],
        "type": "object",
        "properties": {
          "transactionDate": {
            "type": "string",
            "description": "ISO 8601 date representation on when the transaction was executed.",
            "format": "date-time"
          },
          "valueDate": {
            "type": "string",
            "description": "ISO 8601 date representation on when the transaction was fulfilled.",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "description": "remarks or references to the transaction."
          },
          "currency": {
            "type": "string",
            "description": "ISO representation of currency used in case where the transactions are multi-currency"
          },
          "debit": {
            "type": "number",
            "description": "Debit amount",
            "format": "float"
          },
          "credit": {
            "type": "number",
            "description": "Credit amount",
            "format": "float"
          },
          "transactionTrackingId": {
            "type": "string",
            "description": "transaction TrackingId"
          },
          "labelling": {
            "$ref": "#/components/schemas/TransactionLabelling"
          }
        },
        "description": "List of trasnactions"
      },
      "TransactionLabelling": {
        "required": [
          "category",
          "channel",
          "name",
          "provider",
          "serviceType",
          "subCategory",
          "subscription"
        ],
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "serviceType": {
            "type": "string"
          },
          "subCategory": {
            "type": "string"
          },
          "subscription": {
            "type": "boolean"
          }
        },
        "description": "transaction categorization"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```