API status

Reference Accounts

All reference account related paths

get

Get reference accounts of a user

Returns the list of reference accounts of a user specified by ID.

sortstring

Field of resource to sort by

Default
"created_at"
Enum
  • id
  • created_at
Example
"id"
orderstring

Sort order of the result list if the sort parameter is specified. Use ASC for ascending or DESC for descending sort order.

Default
"ASC"
Enum
  • ASC
  • DESC
offsetint

Use the offset argument to specify where in the list of results to start when returning items for a particular query.

Format
int32
Min
0
limitint

Use the limit argument to specify the maximum number of items returned.

Format
int32
Default
100
Min
0
Max
1000

Responses

Response examples

OK

{
  "meta": {
    "offset": 0,
    "limit": 100,
    "count": 1,
    "total_count": 1
  },
  "data": [
    {
      "id": "c18f80bd-401e-4836-9776-7dc24c32d35e",
      "created_at": "2020-08-24T14:15:22Z",
      "updated_at": "2020-08-24T14:15:22Z",
      "user_id": "83d83ec2-d2ca-49ff-bbea-b92b5c3be202",
      "account_owner": "Max Mustermann",
      "name": "Max's Reference Account",
      "iban": "DE0210**********0402",
      "bic": "BELADEBE",
      "confirmed_at": "2020-08-23T14:15:22Z"
    }
  ]
}
post

Create a reference account

Creates a new reference account for a user specified by ID.

user_idstring

User unique identifier.

Format
uuid
account_ownerstring

required

First and last name of the reference account owner

Max Length
140
namestring

Human-readable name of the reference bank account

Max Length
100
ibanstring

required

International Bank Account Number IBAN.

Pattern
^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,26}$
bicstring

required

Business Identifier Code (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) ISO 9362.

Pattern
^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$
confirmed_atstring

required

Timestamp of when user validated the reference account

Format
date-time

Responses

Request examples

{
  "user_id": "83d83ec2-d2ca-49ff-bbea-b92b5c3be202",
  "account_owner": "Max Mustermann",
  "name": "Max's Reference Account",
  "iban": "DE02100500000054540402",
  "bic": "BELADEBE",
  "confirmed_at": "2020-08-23T14:15:22Z"
}

Response examples

Reference account created.

{
  "id": "c18f80bd-401e-4836-9776-7dc24c32d35e",
  "created_at": "2020-08-24T14:15:22Z",
  "updated_at": "2020-08-24T14:15:22Z",
  "user_id": "83d83ec2-d2ca-49ff-bbea-b92b5c3be202",
  "account_owner": "Max Mustermann",
  "name": "Max's Reference Account",
  "iban": "DE0210**********0402",
  "bic": "BELADEBE",
  "confirmed_at": "2020-08-23T14:15:22Z"
}
get

Get a reference account by ID

Retrieves the reference account specified by its ID.

reference_account_idstring

required

Reference account unique identifier.

Format
uuid

Responses

Response examples

OK

{
  "id": "c18f80bd-401e-4836-9776-7dc24c32d35e",
  "created_at": "2020-08-24T14:15:22Z",
  "updated_at": "2020-08-24T14:15:22Z",
  "user_id": "83d83ec2-d2ca-49ff-bbea-b92b5c3be202",
  "account_owner": "Max Mustermann",
  "name": "Max's Reference Account",
  "iban": "DE0210**********0402",
  "bic": "BELADEBE",
  "confirmed_at": "2020-08-23T14:15:22Z"
}
delete

Delete a reference account by ID

Deletes the reference account specified by its ID.

reference_account_idstring

required

Reference account unique identifier.

Format
uuid

Responses

Response examples

Request has been processed successfully.

Empty response