POST
/
profiles
/
{profile_id}
/
quote-executions
curl --request POST \
--url https://api.paxos.com/v2/profiles/{profile_id}/quote-executions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"quote_id": "366a26d2-3098-4226-a520-4bb43ae4d922",
"quote_amount": "100",
"metadata": {
"customer_id": "9b8c9cba-801e-4418-adc0-ede709df6339"
}
}'
{
"id": "43a59965-be3a-45ab-841d-c55386e0ff90",
"profile_id": "b7b77d82-e6a7-4ae9-9904-36231aedf985",
"quote_id": "366a26d2-3098-4226-a520-4bb43ae4d922",
"status": "CREATED",
"market": "BTCUSD",
"side": "BUY",
"price": "6001.2",
"base_amount": "0.016663334",
"base_asset": "BTC",
"quote_amount": "100.00",
"quote_asset": "USD",
"created_at": "2020-01-17T18:36:31.345Z",
"metadata": {
"customer_id": "9b8c9cba-801e-4418-adc0-ede709df6339"
}
}

Authorizations

Authorization
string
header
required

Paxos APIs use OAuth 2 with the client credentials grant flow.

Token URLs:

Learn more in the API credentials guide →

Path Parameters

profile_id
string
required

The ID of the profile under which to execute this order.

Body

application/json

Response

200
application/json

A successful response.

A QuoteExecution is an order to buy or sell an asset at a particular held Quote.