Merge a market's two outcome tokens into USDC.
curl --request POST \
--url https://api.symbiosis.markets/custody/merge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>",
"condition_id": "<string>"
}
'import requests
url = "https://api.symbiosis.markets/custody/merge"
payload = {
"amount": "<string>",
"condition_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: '<string>', condition_id: '<string>'})
};
fetch('https://api.symbiosis.markets/custody/merge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"conversion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>"
}Custody
Merge a market's two outcome tokens into USDC.
One of each outcome token becomes one USDC. Balances move at once. Polymarket markets only, and at least 1 token of each (1000000).
POST
/
custody
/
merge
Merge a market's two outcome tokens into USDC.
curl --request POST \
--url https://api.symbiosis.markets/custody/merge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>",
"condition_id": "<string>"
}
'import requests
url = "https://api.symbiosis.markets/custody/merge"
payload = {
"amount": "<string>",
"condition_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: '<string>', condition_id: '<string>'})
};
fetch('https://api.symbiosis.markets/custody/merge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"conversion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>"
}Authorizations
SessionBearerApiKeyHmac & HmacTimestamp & HmacSignature
Body
application/json
A split of USDC into a market's two outcome tokens, or a merge of the two back into USDC.
A split of USDC into a market's two outcome tokens, or a merge of the two back into USDC.