Coinbase Exchange API
cURL
curl --request POST \ --url https://api.exchange.coinbase.com/users/{user_id}/settlement-preferences \ --header 'Content-Type: application/json' \ --header 'cb-access-key: <api-key>' \ --header 'cb-access-passphrase: <api-key>' \ --header 'cb-access-sign: <api-key>' \ --header 'cb-access-timestamp: <api-key>' \ --data '{ "settlement_preference": "<string>", "user_id": "self" }'
{ "settlement_preference": "<string>" }
Updates the settlement preference to hold funds in either USDC or USD.
The ID of the user who owns the account
Settlement preference (USD, USDC, opt-out)
USD
USDC
opt-out
Was this page helpful?