Coinbase Prime API
cURL
curl --request POST \ --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/accept_quote \ --header 'Content-Type: application/json' \ --data '{ "product_id": "<string>", "side": "UNKNOWN_ORDER_SIDE", "client_order_id": "f69a20b1-4ac4-420e-90b5-814a12565bfa", "quote_id": "f69a20b1-4ac4-420e-90b5-814a12565bfa", "settl_currency": "<string>" }'
{ "order_id": "<string>" }
Accepts the quote received by the quote request and creates an order with the provided quote ID.
Always required: portfolio_id, product_id, side, quote_id, client_quote_id.
UNKNOWN_ORDER_SIDE
BUY
SELL
Was this page helpful?