v1
latestOpenAPI 3.1.02026-07-26165182724.7 KBCorporate Swaps
Swap currencies in your corporate account
post/corporate/swap
Headers
api-keystring required
api-key is available on the dashboard
Authorizationstring required
Request body
Response
200
Example response
{
"id": "3ba9b4cc-4b9d-4c98-8d0b-b6ed2895f483",
"sourceAccountId": "4706004117c1cb14a1d782eabd87b64e",
"destinationAccountId": "83601bc786b1384fc9f360473c70d3fa",
"memo": "disintermediate ubiquitous systems",
"status": "COMMITTED",
"order": {
"id": "4c40ba49-12d4-4454-a400-d1eb6937d983",
"price": "40687.33",
"type": "buy",
"ticker": "BTCEUR",
"debit": {
"currency": "EUR",
"amountFloat": "11",
"amount": "1100"
},
"credit": {
"currency": "BTC",
"amountFloat": "0.00027035",
"amount": "27035"
}
},
"datetime": "2023-12-08T11:42:56.447Z",
"balanceBefore": {
"balance": {
"balance": "1189",
"currency": "cents"
},
"amount": {
"balance": "1189",
"currency": "cents"
},
"currency": "cents"
},
"balanceAfter": {
"balance": {
"balance": "89",
"currency": "cents"
},
"amount": {
"balance": "89",
"currency": "cents"
},
"currency": "cents"
},
"sourceSyncedOwnerId": "92bfd8fe-14f0-49e3-8e5f-86192f352e6b",
"destinationSyncedOwnerId": "92bfd8fe-14f0-49e3-8e5f-86192f352e6b",
"feeEstimate": {
"totalFee": "0",
"theirFee": "0",
"ourFee": "0",
"networkFee": "0"
}
}