curl --request POST \
--url https://api.dfns.io/exchanges \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-DFNS-USERACTION: <api-key>' \
--data '
{
"kind": "Binance",
"readConfiguration": {
"publicApiKey": "<string>",
"privateApiKey": "<string>",
"password": "<string>",
"otp": "<string>"
},
"writeConfiguration": {
"publicApiKey": "<string>",
"privateApiKey": "<string>",
"password": "<string>",
"otp": "<string>"
},
"name": "<string>"
}
'{
"id": "<string>",
"kind": "Binance",
"dateCreated": "<string>",
"name": "<string>"
}Link your organization with a cryptocurrency exchange.
curl --request POST \
--url https://api.dfns.io/exchanges \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-DFNS-USERACTION: <api-key>' \
--data '
{
"kind": "Binance",
"readConfiguration": {
"publicApiKey": "<string>",
"privateApiKey": "<string>",
"password": "<string>",
"otp": "<string>"
},
"writeConfiguration": {
"publicApiKey": "<string>",
"privateApiKey": "<string>",
"password": "<string>",
"otp": "<string>"
},
"name": "<string>"
}
'{
"id": "<string>",
"kind": "Binance",
"dateCreated": "<string>",
"name": "<string>"
}CustomerEmployee)EndUser)Exchanges:Create: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Was this page helpful?