PATCH /users/{id_or_external_id}/transactions/{transaction_id}

Show user transactions with categories.

Path parameters

  • id_or_external_id string Required

    UUID or external ID of a user profile to get access to their reports and data.

  • transaction_id string Required

    UUID of a single transaction

Body

The branch creation request object

  • category_id integer Required

    Category ID

  • update_similar boolean

    UUpdate ismilar transactions with the same description.

Responses

  • 200

    Transaction category updated

    Hide response attributes Show response attributes object
    • id string

      UUID identificator of a single transaction

    • description string
    • amount number
    • date date
    • category object
      Hide category attributes Show category attributes object
      • id integer

        Category ID

      • code string
      • description string

        Category user-friendly name

  • 404

    User not found

  • 500

    The request is not valid.

    Hide response attributes Show response attributes object
    • error_message string

      Human readable error message.

    • error string

      Error code & short status

PATCH /users/{id_or_external_id}/transactions/{transaction_id}
curl \
 -X PATCH https://link.goscore.me/finid-api/1.0/users/{id_or_external_id}/transactions/{transaction_id} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"category_id":42,"update_similar":true}'
Request example
{
  "category_id": 42,
  "update_similar": true
}
Request examples
{
  "category_id": 42,
  "update_similar": true
}
Response examples (200)
{
  "id": "string",
  "description": "string",
  "amount": 42.0,
  "date": "2022-01-07",
  "category": {
    "id": 74,
    "code": "incurences-fees",
    "description": "Loan, incurrencies & fees"
  }
}
Response examples (200)
{
  "id": "string",
  "description": "string",
  "amount": 42.0,
  "date": "2022-01-07",
  "category": {
    "id": 74,
    "code": "incurences-fees",
    "description": "Loan, incurrencies & fees"
  }
}
Response examples (500)
{
  "error_message": "Invalid requeet",
  "error": "ER-001"
}
Response examples (500)
{
  "error_message": "Invalid requeet",
  "error": "ER-001"
}