Skip to content

Commit

Permalink
Merge pull request #1433 from codatio/oas-sync
Browse files Browse the repository at this point in the history
Automated PR created by OAS bot
  • Loading branch information
pzaichkina authored Nov 12, 2024
2 parents c4acf6d + d7fef62 commit c61b10c
Showing 1 changed file with 57 additions and 7 deletions.
64 changes: 57 additions & 7 deletions static/oas/Codat-Bank-Feeds.json
Original file line number Diff line number Diff line change
Expand Up @@ -3604,7 +3604,7 @@
"Transactions"
],
"summary": "Create bank transactions",
"description": "The *Create bank transactions* endpoint creates new [bank transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) for a given company's connection.\n\n[Bank transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) are records of monetary amounts that have moved in and out of an SMB's bank account.\n\n**Integration-specific behaviour**\n\nRequired data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/bank-feeds-api#/operations/get-create-bankTransactions-model).\n",
"description": "The *Create bank transactions* endpoint creates new [bank transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) for a given company's connection.\n\n[Bank transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) are records of monetary amounts that have moved in and out of an SMB's bank account.\n\n**Integration-specific behaviour**\n\nThe required properties may vary based on the integration. For detailed requirements specific to each accounting software, refer to the API reference examples.\nAlternatively, you can view the [Get create bank transaction model](https://docs.codat.io/bank-feeds-api#/operations/get-create-bank-transactions-model) for more information.",
"operationId": "create-bank-transactions",
"parameters": [
{
Expand Down Expand Up @@ -3814,6 +3814,61 @@
}
}
},
"/companies/{companyId}/connections/{connectionId}/options/bankAccounts/{accountId}/bankTransactions": {
"get": {
"tags": [
"Transactions"
],
"summary": "Get create bank transactions model",
"description": "The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) for a given company and integration.\n\n[Bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.\n\n**Integration-specific behaviour**\n\nSee the *response examples* for integration-specific indicative models.",
"operationId": "get-create-bank-transactions-model",
"parameters": [
{
"$ref": "#/components/parameters/companyId"
},
{
"$ref": "#/components/parameters/connectionId"
},
{
"$ref": "#/components/parameters/accountId"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PushOption"
},
"examples": {}
}
}
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"402": {
"$ref": "#/components/responses/Payment-Required"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/Not-Found"
},
"429": {
"$ref": "#/components/responses/Too-Many-Requests"
},
"500": {
"$ref": "#/components/responses/Internal-Server-Error"
},
"503": {
"$ref": "#/components/responses/Service-Unavailable"
}
}
}
},
"/companies/{companyId}/push/{pushOperationKey}": {
"parameters": [
{
Expand Down Expand Up @@ -4687,12 +4742,7 @@
"Other"
]
}
},
"required": [
"id",
"date",
"amount"
]
}
}
},
"ClientRateLimitReachedWebhook": {
Expand Down

0 comments on commit c61b10c

Please sign in to comment.