For instance, they will be able to buy a certain amount of the token of their choice on a regular basis (daily, weekly or monthly).
1 - The following endpoints, allows you to create a new DCA by specifying the original token, the destination token, the frequency of the transactions:
post
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Body
Responses
200
OK
*/*
post
/v1/dca
200
OK
OAuth : user_auth
2 - The following endpoint, allows you to consult the active DCAs on an AccountId:
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
Responses
200
OK
*/*
get
/v1/dca
200
OK
OAuth : user_auth
3 - Finally, this endpoint will give you the possibility to activate/deactivate a DCA: