curl --request POST \
--url https://api.sfcompute.com/v1/credits/migrate \
--header 'Content-Type: application/json' \
--data '
{
"type": "withdraw",
"column_counterparty_id": "cpty_2n4f8bxg3qj5p6r7s9t1v"
}
'{
"status": "migrated"
}Migrates your account from the legacy billing system to the new credit-based billing system.\n\nThis endpoint supports two migration options:\n- Withdraw: Transfer your account balance to an external bank account\n- Convert to Credits: Convert your existing balance to credits for use in the new system\n\nThe migration process will:\n1. Check your current account balance\n2. Verify that your account is eligible for automatic migration\n3. Process the migration according to your chosen option\n\nNote: Some accounts with complex balance states may require manual migration assistance.
curl --request POST \
--url https://api.sfcompute.com/v1/credits/migrate \
--header 'Content-Type: application/json' \
--data '
{
"type": "withdraw",
"column_counterparty_id": "cpty_2n4f8bxg3qj5p6r7s9t1v"
}
'{
"status": "migrated"
}Account successfully migrated
"migrated"