Accounts refer to your account provided by financial institutions. It is the very base entity for all other resources. Without an account, you cannot perform any action with the Box at all.
Accounts have various linked resources, such as bank statements, transactions, credits, debits, and events.
The EBICS::Box API lets you perform several different actions with an Account:
name
string
required
|
Descriptive name for the account. Useful for referencing it an might appear on customer
statements if no
|
---|---|
iban
string
required
|
Unique identifier as provided by your financial institution…
|
bic
string
required
|
Unique identifier fr your financial institution.
|
host
string
required
|
EBICS HOSTID as provided by financial institution.
|
partner
string
required
|
EBICS PARTNERID as provided by financial institution
|
url
string
required
|
EBICS server url as provided by financial institution
|
subscriber
string
required
|
EBICS subscriber/user as provided by financial institution
|
creditor_identifier
string
|
Creditor identifier required for direct debits
|
callback_url
string
|
URL to which webhooks are delivered
|
GET
/accounts
page |
Page to show (default: 1) |
per_page |
Amount of results (default: 10) (maximum: 100) |
GET /accounts
HTTP/1.1 200 OK
[
{
"name": "Customer Payments",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"balance_date": "2016-05-01",
"balance_in_cents": 100,
"status": "activated",
"callback_url": null,
"_links": {
"self": "http://sandbox.ebixsbox.com/accounts/DE02700205000007808005",
"statements": "http://sandbox.ebixsbox.com/statements?iban=DE02700205000007808005",
"transactions": "http://sandbox.ebixsbox.com/transactions?iban=DE02700205000007808005",
"ini_letter": "http://sandbox.ebixsbox.com/accounts/DE02700205000007808005/ini_letter"
}
},
{
"name": "Other Payments",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"balance_date": "2016-05-01",
"balance_in_cents": 100,
"status": "activated",
"callback_url": null,
"_links": {
"self": "http://sandbox.ebixsbox.com/accounts/DE02700205000007808005",
"statements": "http://sandbox.ebixsbox.com/statements?iban=DE02700205000007808005",
"transactions": "http://sandbox.ebixsbox.com/transactions?iban=DE02700205000007808005",
"ini_letter": "http://sandbox.ebixsbox.com/accounts/DE02700205000007808005/ini_letter"
}
}
]
GET
/accounts/:iban
:iban |
IBAN of the account you want to fetch required |
GET /accounts/DE02700205000007808005
HTTP/1.1 200 OK
{
message: "Account created successfully. Please fetch INI letter, sign it, and submit it to your bank",
account: {
"name": "Fake Account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"balance_date": null,
"balance_in_cents": null,
"creditor_identifier": "my-identifier",
"subscriber": "USER_ID",
"url": "https://fakebank.url/ebics",
"partner": "PARTNER_ID",
"host": "HOST_ID",
"status": "activated",
"callback_url": null,
"_links": {
"self": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005",
"statements": "https://sandbox.ebixsbox.com/statements?iban=DE02700205000007808005",
"transactions": "https://sandbox.ebixsbox.com/transactions?iban=DE02700205000007808005",
"ini_letter": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005/ini_letter"
}
}
}
POST
/accounts
POST /accounts
{
"name": "My first test account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"url": "https://fakebank.url/ebics",
"host": "FAKEHOST",
"partner": "TESTPARTNER",
"subscriber": "TESTUSER"
}
HTTP/1.1 200 OK
{
message: "Account created successfully. Please fetch INI letter, sign it, and submit it to your bank",
account: {
"name": "Fake Account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"balance_date": null,
"balance_in_cents": null,
"creditor_identifier": "my-identifier",
"subscriber": "USER_ID",
"url": "https://fakebank.url/ebics",
"partner": "PARTNER_ID",
"host": "HOST_ID",
"status": "activated",
"callback_url": null,
"_links": {
"self": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005",
"statements": "https://sandbox.ebixsbox.com/statements?iban=DE02700205000007808005",
"transactions": "https://sandbox.ebixsbox.com/transactions?iban=DE02700205000007808005",
"ini_letter": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005/ini_letter"
}
}
}
POST /accounts
{
"name": "My first test account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"url": "https://fakebank.url/ebics",
"host": "FAKEHOST",
"partner": "TESTPARTNER",
"subscriber": "TESTUSER",
"callback_url": "https://thirdparty.url/webhooks"
}
HTTP/1.1 200 OK
{
message: "Account created successfully. Please fetch INI letter, sign it, and submit it to your bank",
account: {
"name": "Fake Account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"balance_date": null,
"balance_in_cents": null,
"creditor_identifier": "my-identifier",
"subscriber": "USER_ID",
"url": "https://fakebank.url/ebics",
"partner": "PARTNER_ID",
"host": "HOST_ID",
"status": "activated",
"callback_url": "https://thirdparty.url/webhooks",
"_links": {
"self": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005",
"statements": "https://sandbox.ebixsbox.com/statements?iban=DE02700205000007808005",
"transactions": "https://sandbox.ebixsbox.com/transactions?iban=DE02700205000007808005",
"ini_letter": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005/ini_letter"
}
}
}
POST /accounts
{
"name": "My first test account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"url": "https://fakebank.url/ebics",
"host": "FAKEHOST",
"partner": "TESTPARTNER",
"subscriber": "TESTUSER",
"creditor_identifier": "my-identifier"
}
HTTP/1.1 200 OK
{
message: "Account created successfully. Please fetch INI letter, sign it, and submit it to your bank",
account: {
"name": "Fake Account",
"iban": "DE02700205000007808005",
"bic": "BFSWDE33MUE",
"balance_date": null,
"balance_in_cents": null,
"creditor_identifier": "my-identifier",
"subscriber": "USER_ID",
"url": "https://fakebank.url/ebics",
"partner": "PARTNER_ID",
"host": "HOST_ID",
"status": "activated",
"callback_url": null,
"_links": {
"self": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005",
"statements": "https://sandbox.ebixsbox.com/statements?iban=DE02700205000007808005",
"transactions": "https://sandbox.ebixsbox.com/transactions?iban=DE02700205000007808005",
"ini_letter": "https://sandbox.ebixsbox.com/accounts/DE02700205000007808005/ini_letter"
}
}
}
GET
/accounts/:iban/ini_letter
:iban |
IBAN of the account required |
GET /accounts/DE02700205000007808005/ini_letter
HTTP/1.1 200 OK
<html>
…INI LETTER…
<html>
PUT
/accounts/:iban/
:iban |
IBAN of the account required |
PUT /accounts/DE02700205000007808005
{
"name": "My changed test account",
"callback_url": "https://new.url",
"creditor_identifier": "new-creditor-identifier"
}
HTTP/1.1 200 OK
{
message: "Account updated successfully.",
account: {
"name": "My changed test account",
…
"new-creditor-identifier",
…
"callback_url": "https://new.url",
…
}
}