Клієнти

У роботі з Клієнтами існують наступні методи:

Create customer with first account

circle-exclamation

Щодо заповнення asset_code та asset_issuer, необхідно взяти інформацію з Загальних вимог.

Create customer

post

Create customer

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Body
asset_codestringRequired

required Asset's code of e-money currency

asset_issuerstringRequired

required Address in stellar which issues token

balance_allowednumberOptional

optional default 0, customer's allowed balance

balance_asset_codestringOptional

optional Balance's asset code

balance_asset_issuerstringOptional

optional Balance's asset issuers

branch_guidstringOptional

optional Branch's GUID

ibanstringOptional

optional IBAN

is_disabledbooleanOptional

If you need to disable an employee you should make this parameter true, default it is false

kyc_levelintegerOptional

optional default 0, customer's level of verification(KYC)

loginstringOptional

Login unique user name phone, email or other

namestringOptional

optional Customer's name

paternal_namestringOptional

optional Customer's paternal name

phone_numberstringOptional

optional Customer's phone number

segmentstringOptional

optional Customer's segment: Public Liability (PL) or Professional Indemnity (PI)

statusstringOptional

optional Customer's status

surnamestringOptional

optional Customer's surname

Responses
chevron-right
200

OK

application/json
post
/counterparty/{counterparty_guid}/customers

Щодо asset_code та asset_issuer, будь ласка, зверніться до Загальних вимогarrow-up-right.

chevron-rightResponse example:hashtag
circle-info

До інфомації: Клієнт має один обліковий запис (одну ідентифікаційну сутність).

Сутність клієнта має наступні атрибути:

  • активний

  • зареєстрований

  • заблокований

ці атрибути наразі не використовуються.

Get customer's accounts

Щоб отримати рахунки клієнта, необхідно використовувати наступний метод:

Customer's accounts

get

Get customer's accounts on behalf of employee

Path parameters
counterparty_guidstringRequired

Counterparty GUID

customer_guidstringRequired

Customer GUID

Query parameters
ibanstringOptional

iban (string)

Responses
chevron-right
200

OK

application/json
get
/counterparty/{counterparty_guid}/customers/{customer_guid}/accounts
chevron-rightResponse examplehashtag
circle-info

До інформації: один ідентифікатор має одну сутність (накшталт валюти до банківського рахунку). Наразі дві різні сутності до одного ідентифікатру не створюється (накшталт, рахунки з однаковою валютою в Банку не відкриваються - один рахунок в одній влюті).

Сутність ідентифікатору має наступні атрибути:

  • активний

  • зареєстрований

  • заблокований

ці атрибути наразі не використовуються.

Оновлення даних клієнта

Update customer

put

Update customer

Path parameters
counterparty_guidstringRequired

Counterparty GUID

customer_guidstringRequired

Customer GUID

Body
balance_allowednumberOptional

customer's allowed balance

balance_asset_codestringOptional

optional balance's asset code

balance_asset_issuerstringOptional

optional balance's asset issuer

branch_guidstringOptional

optional customer's branch's name

is_disabledbooleanOptional

if you need to disable an employee you should make this parameter true, default it is false

kyc_levelintegerOptional

customer's level of verification(kyc)

namestringOptional

optional customer's name

paternal_namestringOptional

optional customer's paternal name

phone_numberstringOptional

optional customer's phone number

segmentstringOptional

optional customer's segment: Public Liability (PL) or Professional Indemnity (PI)

statusstringOptional

optional customer's status

surnamestringOptional

optional customer's surname

wallet_user_guidstringOptional

customer's guid

Responses
chevron-right
200

OK

application/json
Responseobject
put
/counterparty/{counterparty_guid}/customers/{customer_guid}

List customers per counterparty

Щоб отримати список всіх клієнтів конкретного Контрагента, необхідно використовувати наступний метод:

Get customers list

get

Get customers list with filter

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Query parameters
wallet_user_guidsstring[]Optional

Customer's GUIDs

loginsstring[]Optional

Customer's logins

kyc_levelsstring[]Optional

Customer's kyc levels

is_disabledbooleanOptional

Include disabled

min_balance_allowednumberOptional

Customer's allowed balance

max_balance_allowednumberOptional

Customer's allowed balance

balance_asset_codesstring[]Optional

Balance's asset code

balance_asset_issuersstring[]Optional

Balance's asset issuers

branch_guidsstring[]Optional

Customer's branch guids

namesstring[]Optional

Customer's names

paternal_namesstring[]Optional

Customer's paternal names

phone_numbersstring[]Optional

Customer's phone numbers

segmentsstring[]Optional

Customer's segments

statusesstring[]Optional

Customer's statuses

surnamesstring[]Optional

Customer's surnames

search_stringstringOptional

Parameter to search by name or login

min_created_atstringOptional

Customer's time of creation

max_created_atstringOptional

Customer's time of creation

min_updated_atstringOptional

Customer's time of last update

max_updated_atstringOptional

Customer's time of last update

offsetintegerOptional

Offset

limitintegerOptional

Limit

orderingstring · enumOptional

Ordering

Possible values:
Responses
chevron-right
200

OK

application/json
get
/counterparty/{counterparty_guid}/customers
chevron-rightResponse example:hashtag

Get details for a single digital account

Get the account detailed information.

Get account

get

Get account

Path parameters
counterparty_guidstringRequired

Counterparty GUID

account_guidstringRequired

wallet account guid (uuid)

Query parameters
ibanstringOptional

iban (string)

Responses
chevron-right
200

OK

application/json
get
/counterparty/{counterparty_guid}/accounts/{account_guid}

Last updated