BankFeeds
Creates one or more new statements
post/Statements
Headers
Idempotency-Keystring
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Request body
Example request
{
"pagination": {
"page": 1,
"pageSize": 10,
"pageCount": 1,
"itemCount": 2
},
"items": [
{
"id": "ba4f3127-5e46-427d-80ea-dea2fcd26afe",
"feedConnectionId": "87cb0dc8-fa32-409c-b622-19f8de8dcc83",
"status": "PENDING",
"startDate": "2018-07-27",
"endDate": "2018-07-27",
"statementLines": [
{
"postedDate": "2018-06-10",
"description": "Description for statement line 2",
"transactionId": "transaction-id-2",
"payeeName": "Payee name for statement line 2",
"reference": "Reference for statement line 2",
"chequeNumber": "021",
"transactionType": "Refund"
}
],
"errors": [
{
"title": "Invalid Application",
"status": 403,
"detail": "The application has not been configured to use these API endpoints.",
"type": "invalid-application"
}
],
"statementLineCount": 1
}
]
}Response
Success returns Statements array of objects in response
Example response
{
"pagination": {
"page": 1,
"pageSize": 10,
"pageCount": 1,
"itemCount": 2
},
"items": [
{
"id": "ba4f3127-5e46-427d-80ea-dea2fcd26afe",
"feedConnectionId": "87cb0dc8-fa32-409c-b622-19f8de8dcc83",
"status": "PENDING",
"startDate": "2018-07-27",
"endDate": "2018-07-27",
"statementLines": [
{
"postedDate": "2018-06-10",
"description": "Description for statement line 2",
"transactionId": "transaction-id-2",
"payeeName": "Payee name for statement line 2",
"reference": "Reference for statement line 2",
"chequeNumber": "021",
"transactionType": "Refund"
}
],
"errors": [
{
"title": "Invalid Application",
"status": 403,
"detail": "The application has not been configured to use these API endpoints.",
"type": "invalid-application"
}
],
"statementLineCount": 1
}
]
}