Skip to content

Complete CEX linking

POST
/v1/asset/cex-accounts/connect
curl --request POST \
--url https://api.parasta.io/v1/asset/cex-accounts/connect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \
--data '{ "provider": "example", "authMethod": "oauth2", "state": "example", "code": "example", "label": "example" }'
Idempotency-Key
required
string format: uuid

IETF draft-ietf-httpapi-idempotency-key-header. Generated freshly by the client for each request.

Media type application/json
One of:
object
provider
required
string
authMethod
required
string
Allowed values: oauth2
state
required
string
code
required
string
label
string

Created

Media type application/json
object
cexAccountId
string
provider
string
label
string
authMethod
string
Allowed values: oauth2 api_key
permissions
object
read
boolean
withdraw
boolean
lastSyncAt
string format: date-time
registeredAt
string format: date-time
Example
{
"authMethod": "oauth2"
}

Please contact your representative. 담당자에게 문의해주세요.