PUT /api/v1/transactions/

Body

Body

  • txId string Required
  • accountTypes object Required
    Hide accountTypes attribute Show accountTypes attribute object
    • Additional properties: object
      Hide Additional properties: attributes Show Additional properties: attributes object
      • debit string Required
      • credit string Required

Responses

  • 200

    200

    Hide response attribute Show response attribute object
    • success boolean Required
  • 400

    400

    Hide response attribute Show response attribute object
    • error object Required
      Hide error attributes Show error attributes object
      • code string Required
      • message string Required
  • 401

    401

    Hide response attribute Show response attribute object
    • error object Required
      Hide error attributes Show error attributes object
      • code string Required
      • message string Required
  • 404

    404

    Hide response attribute Show response attribute object
    • error object Required
      Hide error attributes Show error attributes object
      • code string Required
      • message string Required
  • 500

    500

    Hide response attribute Show response attribute object
    • error object Required
      Hide error attributes Show error attributes object
      • code string Required
      • message string Required
PUT /api/v1/transactions/
curl \
 -X PUT api.consola.finance/api/v1/transactions/ \
 -H "Authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '[{"txId":"string","accountTypes":{}}]'
Request example
[
  {
    "txId": "string",
    "accountTypes": {}
  }
]
Request examples
[
  {
    "txId": "string",
    "accountTypes": {
      "Additional properties:": {
        "debit": "string",
        "credit": "string"
      }
    }
  }
]
Response examples (200)
{
  "success": true
}
Response examples (200)
{
  "success": true
}
Response examples (400)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (400)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (401)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (401)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (404)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (404)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (500)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
Response examples (500)
{
  "error": {
    "code": "string",
    "message": "string"
  }
}