Skip to content

Trigger Sync

POST
/api/v1/exchange-accounts/{account_id}/sync
curl --request POST \
--url https://api.qeychain.xyz/api/v1/exchange-accounts/example/sync

Trigger a transaction sync for an exchange account.

This fetches the latest transactions from the exchange and stores them. For now, runs synchronously. Will be moved to Celery in a future phase.

account_id
required
Account Id
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}