Skip to main content
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"
}
OAuth Scope
exchange:write_order

Authorizations

Authorization
string
header
required

Path Parameters

profile_id
string
required

Body

application/json
side
enum<string>
required
Available options:
BUY,
SELL
market
enum<string>
required
Available options:
ETHEUR,
ETHSGD,
ETHUSD,
BTCEUR,
BTCSGD,
BTCUSD,
PAXGUSD,
BCHUSD,
LTCUSD,
USDPUSD,
LINKUSD,
MATICUSD,
AAVEUSD,
UNIUSD
type
enum<string>
required
Available options:
LIMIT,
MARKET,
POST_ONLY_LIMIT,
STOP_MARKET,
STOP_LIMIT
ref_id
string
base_amount
string
price
string
quote_amount
string
metadata
object
await_fill_millis
integer
Required range: x <= 10000
time_in_force
enum<string>
Available options:
GTC,
FOK,
IOC,
GTT
expiration_date
string<uint64>
identity_id
string
identity_account_id
string
stop_price
string
recipient_profile_id
string
self_match_prevention_id
string

Response

id
string
profile_id
string
ref_id
string
status
enum<string>
Available options:
PENDING_SUBMISSION,
SUBMITTED,
OPEN,
FILLED,
CANCELLED,
REJECTED
side
enum<string>
Available options:
BUY,
SELL
market
enum<string>
Available options:
ETHEUR,
ETHSGD,
ETHUSD,
BTCEUR,
BTCSGD,
BTCUSD,
PAXGUSD,
BCHUSD,
LTCUSD,
USDPUSD,
LINKUSD,
MATICUSD,
AAVEUSD,
UNIUSD
type
enum<string>
Available options:
LIMIT,
MARKET,
POST_ONLY_LIMIT,
STOP_MARKET,
STOP_LIMIT
base_amount
string
price
string
quote_amount
string
metadata
object
created_at
string<date-time>
modified_at
string<date-time>
amount_filled
string
volume_weighted_average_price
string
time_in_force
enum<string>
Available options:
GTC,
FOK,
IOC,
GTT
expiration_date
string<date-time>
identity_id
string
identity_account_id
string
stop_price
string
recipient_profile_id
string
is_triggered
boolean