POST
/
profiles
/
{profile_id}
/
orders
curl --request POST \
--url https://api.paxos.com/v2/profiles/{profile_id}/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"side": "BUY",
"market": "ETHUSD",
"type": "LIMIT",
"price": "190.23",
"base_amount": "2.35781498",
"metadata": {
"customer_id": "9b8c9cba-801e-4418-adc0-ede709df6339"
}
}'
{
"id": "f190b163-208f-4d73-8deb-4fb8b24add00",
"profile_id": "b7b77d82-e6a7-4ae9-9904-36231aedf985",
"ref_id": "my-order-1",
"status": "SUBMITTED",
"market": "ETHUSD",
"side": "BUY",
"type": "LIMIT",
"price": "190.23",
"base_amount": "2.35781498",
"quote_amount": "",
"metadata": {
"customer_id": "9b8c9cba-801e-4418-adc0-ede709df6339"
},
"amount_filled": "0.00000000",
"volume_weighted_average_price": "0.00000000",
"time_in_force": "GTC"
}

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 profileId the order will be associated with.

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.