Customer Account

Defines a customer account.

Please note that for credit operations, it is the responsibility of the integrator to create tax documents.

Customer account schema

_cloudId integer Cloud ID 📶 EQUALS,ENUM

_customerId long Customer ID 📶 EQUALS,ENUM

_lastCustomerAccountLogId long? Customer account log ID 📶 EQUALS,ENUM

allowedMinimalBalance BigDecimal Minimal account balance 📶 NUMBER

balance BigDecimal Account balance 📶 NUMBER

created timestamp Timestamp of created record 📶 EQUALS,ENUM,NUMBER

currency string Three-letter currency according to ISO 4217 📶 STRING 🔽 BOTH

id long Customer account ID 📶 EQUALS,ENUM

modified timestamp Last modification date and time 📶 EQUALS,ENUM,NUMBER

type enum Account type, supported value: "default" 📶 STRING 🔽 BOTH

JSON response

{
    "_customerId": <long>,
    "_lastCustomerAccountLogId": <long>,
    "allowedMinimalBalance": <BigDecimal>,
    "balance": <BigDecimal>,
    "created": <timestamp>,
    "currency": <string>,
    "id": <long>,
    "modified": <timestamp>,
    "type": "default"
}

Create customer account

POST https://api.dotykacka.cz/v2/clouds/:cloudId/customer-accounts

Path Parameters

NameTypeDescription

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Get customer account by ID

GET https://api.dotykacka.cz/v2/clouds/:cloudId/customer-accounts/:customerAccountId

Path Parameters

NameTypeDescription

cloudId*

integer

customerAccountId

long

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Get customer account for customer

GET https://api.dotykacka.cz/v2/clouds/:cloudId/customers/:customerId/accounts/:accountType

Path Parameters

NameTypeDescription

cloudId*

integer

customerId

long

accountType

string

valid value: "default"

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Search customer accounts

GET https://api.dotykacka.cz/v2/clouds/:cloudId/customer-accounts

Path Parameters

NameTypeDescription

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Query Parameters

NameTypeDescription

sort

string

page

integer

filter

string

limit

integer

Last updated