1. Counterparties management

On this page you can see how you should work with counterparties.

Working with counterparties you have the following features:

Create counterparty

Update counterparty attributes

1. Counterparties management

Show counterparty attributes

Create counterparty

A counterparty is created together with 2 accounts: emission account and processing account.

Create counterparty

post

Create counterparty

Body
asset_codestringOptional

AssetCode first emission account

asset_issuerstringOptional

AssetIssuer first emission account

descriptionstringOptional

optional

guidstringOptional

GUID if guid is zero, generate new random guid if guid exist return error

holding_namestringOptional

optional

namestringOptional

Name unique counterparty name

user_auth_urlstringOptional

UserAuthURL url where we can request user authorization on counterparty side

user_id_urlstringOptional

UserIDURL url where we can request user id on counterparty side

user_key_urlstringOptional

UserKeyURL url where we can request user key on counterparty side

Responses
200

OK

application/json
post
/counterparties

Update counterparty attributes

Update counterparty

put

Update counterparty fields by guid

Body
descriptionstringOptional

Counterparty's description

holding_namestringOptional

Counterparty's holding name

namestringOptional

Counterparty's unique name

user_auth_urlstringOptional

URL where DCM can request user authorization on the counterparty's side

user_id_urlstringOptional

URL where DCM can request a user ID on the counterparty's side

user_key_urlstringOptional

URL where DCM can request a user key on the counterparty's side

Responses
200

OK

application/json
Responseobject
put
/counterparties/{counterparty_guid}

Get the list of counterparties

Get counterparties list

get

Get counterparties list

Query parameters
guidsstring[]Optional

Counterparty's GUIDs

namesstring[]Optional

Counterparty's names

holding_namesstring[]Optional

Counterparty's holding names

offsetintegerOptional

Offset

limitintegerOptional

Limit

orderingstring · enumOptional

Ordering by created_at

Possible values:
Responses
200

OK

application/json
get
/counterparties

Show counterparty attributes

To show a counterparty attributes you should do the previuos request and to find the counterparty you need with an appropriate guid.

Last updated