Version : 1
https://public-api.crunch.co.uk/v1/banking
put /bank-accounts/archive/{bankAccountId}
update:all
{
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
post /bank-accounts
application/json
create:all
{
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
delete /bank-accounts/{bankAccountId}
delete:all
get /bank-accounts/accounts/{isArchived}
read:all
[ {
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}, {
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
} ]
application/json
get /bank-accounts/{bankAccountId}
read:all
{
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
get /bank-accounts
read:all
[ {
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}, {
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
} ]
application/json
post /bank-accounts/opening-balances
application/json
read:all
{
"openingBalances" : [ {
"accountId" : 0,
"editable" : true,
"openingBalance" : "openingBalance"
}, {
"accountId" : 0,
"editable" : true,
"openingBalance" : "openingBalance"
} ]
}
application/json
get /bank-accounts/{id}/payments
date,asc
.read:all
{
"number" : 7,
"size" : 1,
"last" : true,
"numberOfElements" : 9,
"totalPages" : 0,
"pageable" : {
"paged" : true,
"pageNumber" : 2,
"offset" : 3,
"pageSize" : 4,
"unpaged" : true
},
"sort" : {
"unsorted" : true,
"sorted" : true,
"empty" : true
},
"content" : [ {
"date" : "2000-01-23",
"amountType" : "DEBIT",
"reference" : "reference",
"amount" : 5.637376656633329,
"unmatchable" : true,
"statementEntryId" : 2,
"deletable" : true,
"description" : "description",
"id" : 5,
"paymentName" : "paymentName",
"paymentType" : "SUPPLIER_PAYMENT"
}, {
"date" : "2000-01-23",
"amountType" : "DEBIT",
"reference" : "reference",
"amount" : 5.637376656633329,
"unmatchable" : true,
"statementEntryId" : 2,
"deletable" : true,
"description" : "description",
"id" : 5,
"paymentName" : "paymentName",
"paymentType" : "SUPPLIER_PAYMENT"
} ],
"first" : true,
"totalElements" : 6,
"empty" : true
}
application/json
put /bank-accounts/default/{bankAccountId}
update:all
put /bank-accounts/{bankAccountId}
application/json
update:all
{
"unmatchedEntriesAmount" : 1,
"accountName" : "accountName",
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"bankName" : "bankName",
"personal" : true,
"accountNumber" : "accountNumber",
"sortCode" : "sortCode",
"unreconciledCrunchPaymentsAmount" : 5,
"archived" : true,
"default" : true,
"bankFeed" : {
"remainingDays" : 5,
"bankName" : "bankName",
"state" : "available"
},
"iban" : "iban",
"doesLastReconciledStatementEntryFallIntoClosedFinancialYear" : true,
"sortCodeAndAccountNumberEditable" : true,
"id" : 0,
"bic" : "bic",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
put /credit-cards/archive/{creditCardId}
update:all
{
"archived" : true,
"unmatchedEntriesAmount" : 6,
"default" : true,
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"cardNumberEditable" : true,
"personal" : true,
"id" : 0,
"unreconciledCrunchPaymentsAmount" : 1,
"cardNumber" : "cardNumber",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
post /credit-cards
application/json
create:all
{
"archived" : true,
"unmatchedEntriesAmount" : 6,
"default" : true,
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"cardNumberEditable" : true,
"personal" : true,
"id" : 0,
"unreconciledCrunchPaymentsAmount" : 1,
"cardNumber" : "cardNumber",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
delete /credit-cards/{creditCardId}
delete:all
get /credit-cards/cards/{isArchived}
read:all
[ {
"archived" : true,
"unmatchedEntriesAmount" : 6,
"default" : true,
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"cardNumberEditable" : true,
"personal" : true,
"id" : 0,
"unreconciledCrunchPaymentsAmount" : 1,
"cardNumber" : "cardNumber",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}, {
"archived" : true,
"unmatchedEntriesAmount" : 6,
"default" : true,
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"cardNumberEditable" : true,
"personal" : true,
"id" : 0,
"unreconciledCrunchPaymentsAmount" : 1,
"cardNumber" : "cardNumber",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
} ]
application/json
get /credit-cards/{creditCardId}
read:all
{
"archived" : true,
"unmatchedEntriesAmount" : 6,
"default" : true,
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"cardNumberEditable" : true,
"personal" : true,
"id" : 0,
"unreconciledCrunchPaymentsAmount" : 1,
"cardNumber" : "cardNumber",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
get /credit-cards/{creditCardId}/openingBalance
read:all
{
"accountId" : 0,
"editable" : true,
"openingBalance" : "openingBalance"
}
application/json
post /credit-cards/opening-balances
application/json
read:all
{
"openingBalances" : [ {
"accountId" : 0,
"editable" : true,
"openingBalance" : "openingBalance"
}, {
"accountId" : 0,
"editable" : true,
"openingBalance" : "openingBalance"
} ]
}
application/json
put /credit-cards/default/{creditCardId}
update:all
post /credit-cards/postOpeningBalance/{creditCardId}
create:all
put /credit-cards/{creditCardId}
application/json
update:all
{
"archived" : true,
"unmatchedEntriesAmount" : 6,
"default" : true,
"displayName" : "displayName",
"deletable" : true,
"canBeArchived" : true,
"cardNumberEditable" : true,
"personal" : true,
"id" : 0,
"unreconciledCrunchPaymentsAmount" : 1,
"cardNumber" : "cardNumber",
"balanceDto" : {
"date" : "2000-01-23",
"balance" : 6.027456183070403
}
}
application/json
put /credit-cards/updateOpeningBalance/{creditCardId}
create:all
BalanceDto
BankAccountDto
BankFeedDto
CreditCardDto
OpeningBalanceDto
OpeningBalancesRequestDto
OpeningBalancesResponseDto
PagePaymentDto
Pageable
PaymentDto
Sort
BankAccountDto
UpCreditCardDto
UpOpeningBalancesRequestDto
UpOpeningBalancesResponseDto
UpPagePaymentDto
UpPaymentDto
Up