curl --request POST \
--url https://api.bullionwale.com/api/trading/test/v1/orders \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"client_order_id": "bot-42",
"quantity": 10,
"symbol_code": "GOLD_TRADE_999",
"trade_type": "buy"
}
'{
"client_order_id": "bot-42",
"created_at": "2026-10-14T09:31:05.120000+00:00",
"deal_label": "T-12",
"environment": "test",
"id": "b7d1e0f4-2c9a-4f63-8e1d-0a5c3b2f9e71",
"price": "141250.00",
"quantity": "10.0000",
"status": "filled",
"symbol_code": "GOLD_TRADE_999",
"total": "141250.00",
"trade_type": "buy",
"unit": "g"
}{
"client_order_id": "bot-42",
"created_at": "2026-10-14T09:31:05.120000+00:00",
"deal_label": "T-12",
"environment": "test",
"id": "b7d1e0f4-2c9a-4f63-8e1d-0a5c3b2f9e71",
"price": "141250.00",
"quantity": "10.0000",
"status": "filled",
"symbol_code": "GOLD_TRADE_999",
"total": "141250.00",
"trade_type": "buy",
"unit": "g"
}{
"detail": {
"code": "limit_exceeded",
"message": "Exceeds your gold limit — 40 g free of 1000 g."
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "idempotency_key_reused",
"message": "This Idempotency-Key was already used for a different order."
}
}{
"detail": {
"code": "rate_limited",
"message": "API rate limit exceeded for this key or account. Retry later."
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Test environment
Place a simulated order (test)
Available on request. Ask the Bullionwale desk to turn on API access for your account and issue a test key. Test orders are simulated; nothing is booked.
A SIMULATED market order: nothing reaches the desk. Idempotency-Key is required (1-64 characters). 201 on first placement; 200 with Idempotent-Replayed: true on a replay of the same key and body.
curl --request POST \
--url https://api.bullionwale.com/api/trading/test/v1/orders \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"client_order_id": "bot-42",
"quantity": 10,
"symbol_code": "GOLD_TRADE_999",
"trade_type": "buy"
}
'{
"client_order_id": "bot-42",
"created_at": "2026-10-14T09:31:05.120000+00:00",
"deal_label": "T-12",
"environment": "test",
"id": "b7d1e0f4-2c9a-4f63-8e1d-0a5c3b2f9e71",
"price": "141250.00",
"quantity": "10.0000",
"status": "filled",
"symbol_code": "GOLD_TRADE_999",
"total": "141250.00",
"trade_type": "buy",
"unit": "g"
}{
"client_order_id": "bot-42",
"created_at": "2026-10-14T09:31:05.120000+00:00",
"deal_label": "T-12",
"environment": "test",
"id": "b7d1e0f4-2c9a-4f63-8e1d-0a5c3b2f9e71",
"price": "141250.00",
"quantity": "10.0000",
"status": "filled",
"symbol_code": "GOLD_TRADE_999",
"total": "141250.00",
"trade_type": "buy",
"unit": "g"
}{
"detail": {
"code": "limit_exceeded",
"message": "Exceeds your gold limit — 40 g free of 1000 g."
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "idempotency_key_reused",
"message": "This Idempotency-Key was already used for a different order."
}
}{
"detail": {
"code": "rate_limited",
"message": "API rate limit exceeded for this key or account. Retry later."
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Headers
Required, 1-64 characters. Per account: the same key with the same body replays the order.
Maximum string length:
64Body
application/json
Response
Replay of an earlier order.
T-<seq>; a test order has no deal number.
Always filled.
g or kg.