---
updatedAt: 2026-09-07T14:40:25.000Z
agentTools:
  projectIndex: https://developers.shine.fr/llms.txt
---

# Get

Get a transaction by id

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0.0",
    "title": "Shine Connect",
    "description": "Shine currently supports accounts in France (FR) and the Netherlands (NL), determined by the ISO 3166-1 alpha-2 country prefix of the `iban` field. NL support is a first iteration and is currently limited to bank transfers and reading bank accounts and transactions. Receipts, invoicing, and transaction enrichment are FR-only for now."
  },
  "security": [
    {
      "google_id_token": []
    }
  ],
  "servers": [
    {
      "url": "https://public.api.shine.fr/",
      "description": "Read Only Production server"
    },
    {
      "url": "https://public.api.staging.shine.fr/",
      "description": "Read Only Sandbox server"
    },
    {
      "url": "https://mtls.connect.shine.fr/",
      "description": "Read/Write Production server"
    },
    {
      "url": "https://mtls.connect.staging.shine.fr/",
      "description": "Read/Write Sandbox server"
    }
  ],
  "paths": {
    "/transactions/{transactionId}": {
      "get": {
        "operationId": "getTransaction",
        "x-eov-operation-id": "getTransaction",
        "x-eov-operation-handler": "middlewares",
        "tags": [
          "Transactions"
        ],
        "summary": "Get",
        "description": "Get a transaction by id",
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "description": "Transaction id to retrieve",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Transaction"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "google_id_token": {
        "type": "oauth2",
        "x-google-issuer": "https://accounts.google.com",
        "flows": {
          "implicit": {
            "authorizationUrl": "/",
            "scopes": {}
          }
        }
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "required": [
          "message",
          "status"
        ],
        "properties": {
          "message": {
            "type": "string"
          },
          "status": {
            "type": "number"
          }
        }
      },
      "Transaction": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "transactionId",
          "bankAccountId",
          "companyUserId",
          "fee",
          "feeType",
          "category",
          "createdAt",
          "updatedAt",
          "is3DS",
          "isHidden",
          "isOnAgentWallet",
          "isPersonal",
          "isRefund",
          "payinVirtualStatus",
          "hasReceipts",
          "status",
          "title",
          "uid",
          "type",
          "value"
        ],
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Primary key"
          },
          "authorizationReleasedAt": {
            "type": "string",
            "nullable": true,
            "description": "Timestamp where the transaction's authorization was released"
          },
          "bankAccountId": {
            "type": "string"
          },
          "bankTransferId": {
            "type": "string",
            "description": "Optional, if this transaction is a wire transfer going out of the user's wallet, provide the primary key of the BankTransfers' table"
          },
          "bankTransferStatus": {
            "type": "string",
            "description": "Optional, bank transfer (SCT) payout status",
            "enum": [
              "PENDING",
              "VALIDATED",
              "CANCELED",
              "SENT_TO_SEPA_NETWORK",
              "SUSPENDED_TMS",
              null
            ],
            "nullable": true
          },
          "cardPaymentStatus": {
            "type": "string",
            "nullable": true,
            "description": "Status of the card payment",
            "enum": [
              "AUTHORIZED",
              "SETTLED",
              "DECLINED",
              "AUTHORIZATION_TIMEOUT",
              "AUTHORIZATION_RELEASED",
              null
            ]
          },
          "category": {
            "type": "string",
            "description": "Category of the transaction. Used to display an appropriate logo in the banking screen and to help users with their accounting.",
            "enum": [
              "DEFAULT",
              "BANKING",
              "CASH",
              "CONTRIBUTIONS",
              "EQUIPMENT",
              "FOOD",
              "HOTEL",
              "LEGAL",
              "LOAN",
              "MAINTENANCE",
              "MISC",
              "PERSONAL",
              "RENT",
              "SERVICES",
              "TAX",
              "TELECOM",
              "ALCOOL_TOBACCO",
              "TRANSPORTATION",
              "UTILITIES",
              "VEHICLE",
              "BETTING"
            ]
          },
          "companyUserId": {
            "type": "string",
            "nullable": true,
            "description": "Foreign Key referencing the companyUserId field on a CompanyUser"
          },
          "createdAt": {
            "type": "integer",
            "description": "Timestamp of the insertion in our database"
          },
          "currency": {
            "type": "string",
            "description": "ISO_4217 [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, defaults to \"EUR\""
          },
          "description": {
            "type": "string",
            "description": "Custom data passed along the transaction such as bank transfer label edited by a user"
          },
          "directDebitMandateId": {
            "type": "string",
            "description": "optional, if this transaction is a SEPA direct debit on the user's wallet, this is the ID of the SEPA mandate"
          },
          "executedAt": {
            "type": "string",
            "nullable": true,
            "description": "For a direct debit, this is the requested collection date."
          },
          "fee": {
            "type": "number",
            "description": "Value the user pays Shine on this transaction."
          },
          "feeType": {
            "type": "string",
            "description": "Type of the fee.",
            "enum": [
              "FREE",
              "ADDITIONAL_TRANSFER",
              "CARD_PAYIN_EURO",
              "CARD_PAYIN_NON_EURO",
              "CARD_PAYIN_NON_EU",
              "CARD_PAYOUT_NON_EURO",
              "CARD_PAYOUT_NON_EU",
              "CARD_ATM_EURO",
              "CARD_ATM_NON_EURO",
              "CASH_DEPOSIT",
              "CHECK",
              "CHECK_REFUSED",
              "CHECK_INVALID",
              "SWIFT_TRANSFER_PAYIN",
              "INTERNATIONAL_TRANSFER_PAYOUT"
            ]
          },
          "hasReceipts": {
            "type": "boolean",
            "description": "set to true if the transaction has at least one receipt"
          },
          "initiatorName": {
            "type": "string",
            "nullable": true,
            "description": "first name and last name of the user who initiated the transaction"
          },
          "is3DS": {
            "type": "boolean",
            "description": "true if the transaction was validated with 3DS (card payouts only). False by default for transactions types where this does not make sense"
          },
          "isOnAgentWallet": {
            "type": "boolean",
            "description": "true if the transaction was initiated on the agent wallet"
          },
          "isPersonal": {
            "type": "boolean",
            "description": "set to true if this transaction needs to be taken out of accounting, i.e. a personal expense, or a transfer from the user's personal bank account"
          },
          "isHidden": {
            "type": "boolean",
            "description": "True if transaction should be hidden from user (transactions that are directly canceled, 0€ test transactinos)"
          },
          "isRefund": {
            "type": "boolean",
            "description": "Whether the transaction is the refund of another transaction (e.g. a mastercard payback)"
          },
          "note": {
            "type": "string",
            "description": "Note entered by the user to describe the transaction"
          },
          "payinVirtualStatus": {
            "type": "string",
            "nullable": true,
            "enum": [
              "PENDING",
              "VALIDATED",
              null
            ]
          },
          "paymentMethod": {
            "type": "string",
            "description": "Describes the means of the transaction. Support varies by market: Netherlands (NL) accounts currently only support `TRANSFER` (SEPA Credit Transfer) and `INSTANT_TRANSFER` (SEPA Instant Credit Transfer). All other values are currently only available for France (FR) accounts.",
            "enum": [
              "CARD",
              "CASH_DEPOSIT",
              "CHECK",
              "DIRECT_DEBIT",
              "INSTANT_TRANSFER",
              "TRANSFER",
              "WALLET_TRANSFER",
              "SWIFT_TRANSFER",
              "INTRA_COMPANY_FUNDS_TRANSFER",
              "INTERNATIONAL_TRANSFER"
            ]
          },
          "status": {
            "type": "string",
            "description": "Transaction status",
            "enum": [
              "PENDING",
              "CANCELED",
              "VALIDATED"
            ]
          },
          "sentToSepaNetworkAt": {
            "type": "string",
            "nullable": true,
            "description": "Timestamp where the bank transfer's status was set to SENT_TO_SEPA_NETWORK"
          },
          "refundTransactionId": {
            "type": "string",
            "nullable": true,
            "description": "transactionId of the transaction this refund belongs to"
          },
          "title": {
            "type": "string",
            "description": "editable field initially set by a machine"
          },
          "titleLatinised": {
            "type": "string",
            "description": "non writable field for search purposes in the Query endpoint's `q` parameter"
          },
          "transactionAt": {
            "type": "integer",
            "description": "Timestamp of the transaction authorization: validation by the terminal for card payments, SEPA transfer request by a user... Should be close to createdAt as long as there is no disruption in Treezor and mastercard's service. Shole be set at the transaction creation."
          },
          "transactionSettledAt": {
            "type": "integer",
            "nullable": true,
            "description": "Timestamp of the transaction settlement (ie. when the money is actually transferred from the user's bank account to the beneficiary bank account, or the opposite for a payin). Is 0 by default before the transaction is validated."
          },
          "transferPayinSenderName": {
            "type": "string",
            "description": "Name of the bank transfer sender."
          },
          "type": {
            "type": "string",
            "description": "Indicates if the money is coming in or out of the account",
            "enum": [
              "payin",
              "payout"
            ]
          },
          "uid": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "integer",
            "description": "Timestamp at which the row was last updated"
          },
          "value": {
            "type": "number",
            "description": "amount of the transaction"
          }
        }
      }
    }
  }
}
```