curl --request POST \
--url https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instrumentAdmin": "partner-registrar::1220aa",
"instrumentId": "QUADRILLIONS",
"code": "QUADRILLIONS",
"name": "Quadrillions",
"decimals": 10,
"logoUrl": "https://partner.example/quadrillions.png",
"category": "memes",
"quoteAsset": "USD.E",
"tickSizeAtoms": "1",
"lotSizeAtoms": "1",
"minPrice": "0.0000001",
"maxPrice": "1",
"minQuantity": "1",
"maxQuantity": "100000000",
"minNotionalAtoms": "10000000000",
"listingPriceAtoms": "100000",
"makerReferencePriceAtoms": "100000",
"noSecurityClaim": true
}
'import requests
url = "https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests"
payload = {
"instrumentAdmin": "partner-registrar::1220aa",
"instrumentId": "QUADRILLIONS",
"code": "QUADRILLIONS",
"name": "Quadrillions",
"decimals": 10,
"logoUrl": "https://partner.example/quadrillions.png",
"category": "memes",
"quoteAsset": "USD.E",
"tickSizeAtoms": "1",
"lotSizeAtoms": "1",
"minPrice": "0.0000001",
"maxPrice": "1",
"minQuantity": "1",
"maxQuantity": "100000000",
"minNotionalAtoms": "10000000000",
"listingPriceAtoms": "100000",
"makerReferencePriceAtoms": "100000",
"noSecurityClaim": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
instrumentAdmin: 'partner-registrar::1220aa',
instrumentId: 'QUADRILLIONS',
code: 'QUADRILLIONS',
name: 'Quadrillions',
decimals: 10,
logoUrl: 'https://partner.example/quadrillions.png',
category: 'memes',
quoteAsset: 'USD.E',
tickSizeAtoms: '1',
lotSizeAtoms: '1',
minPrice: '0.0000001',
maxPrice: '1',
minQuantity: '1',
maxQuantity: '100000000',
minNotionalAtoms: '10000000000',
listingPriceAtoms: '100000',
makerReferencePriceAtoms: '100000',
noSecurityClaim: true
})
};
fetch('https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));use reqwest::blocking::Client;
use serde_json::json;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Client::new()
.post("https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests")
.bearer_auth(std::env::var("EDEL_API_KEY")?)
.json(&json!({
"instrumentAdmin": "partner-registrar::1220aa",
"instrumentId": "QUADRILLIONS",
"code": "QUADRILLIONS",
"name": "Quadrillions",
"decimals": 10,
"logoUrl": "https://partner.example/quadrillions.png",
"category": "memes",
"quoteAsset": "USD.E",
"tickSizeAtoms": "1",
"lotSizeAtoms": "1",
"minPrice": "0.0000001",
"maxPrice": "1",
"minQuantity": "1",
"maxQuantity": "100000000",
"minNotionalAtoms": "10000000000",
"listingPriceAtoms": "100000",
"makerReferencePriceAtoms": "100000",
"noSecurityClaim": true
}))
.send()?;
println!("{} {}", response.status(), response.text()?);
Ok(())
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests"
payload := strings.NewReader("{\n \"instrumentAdmin\": \"partner-registrar::1220aa\",\n \"instrumentId\": \"QUADRILLIONS\",\n \"code\": \"QUADRILLIONS\",\n \"name\": \"Quadrillions\",\n \"decimals\": 10,\n \"logoUrl\": \"https://partner.example/quadrillions.png\",\n \"category\": \"memes\",\n \"quoteAsset\": \"USD.E\",\n \"tickSizeAtoms\": \"1\",\n \"lotSizeAtoms\": \"1\",\n \"minPrice\": \"0.0000001\",\n \"maxPrice\": \"1\",\n \"minQuantity\": \"1\",\n \"maxQuantity\": \"100000000\",\n \"minNotionalAtoms\": \"10000000000\",\n \"listingPriceAtoms\": \"100000\",\n \"makerReferencePriceAtoms\": \"100000\",\n \"noSecurityClaim\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"instrumentAdmin\": \"partner-registrar::1220aa\",\n \"instrumentId\": \"QUADRILLIONS\",\n \"code\": \"QUADRILLIONS\",\n \"name\": \"Quadrillions\",\n \"decimals\": 10,\n \"logoUrl\": \"https://partner.example/quadrillions.png\",\n \"category\": \"memes\",\n \"quoteAsset\": \"USD.E\",\n \"tickSizeAtoms\": \"1\",\n \"lotSizeAtoms\": \"1\",\n \"minPrice\": \"0.0000001\",\n \"maxPrice\": \"1\",\n \"minQuantity\": \"1\",\n \"maxQuantity\": \"100000000\",\n \"minNotionalAtoms\": \"10000000000\",\n \"listingPriceAtoms\": \"100000\",\n \"makerReferencePriceAtoms\": \"100000\",\n \"noSecurityClaim\": true\n}")
.asString();{
"id": "<string>",
"requester": {
"kind": "account",
"accountId": "<string>"
},
"marketId": "<string>",
"status": "pending",
"request": {
"instrumentAdmin": "<string>",
"instrumentId": "<string>",
"code": "<string>",
"name": "<string>",
"decimals": 5,
"logoUrl": "<string>",
"category": "crypto",
"quoteAsset": "<string>",
"tickSizeAtoms": "<string>",
"lotSizeAtoms": "<string>",
"minPrice": "<string>",
"maxPrice": "<string>",
"minQuantity": "<string>",
"maxQuantity": "<string>",
"minNotionalAtoms": "<string>",
"listingPriceAtoms": "<string>",
"makerReferencePriceAtoms": "<string>",
"noSecurityClaim": true
},
"partnerLogoUrl": "<string>",
"storedLogoUrl": "<string>",
"timestamp": 1,
"datetime": "<string>",
"decidedAt": "<string>",
"refusalReason": "<string>"
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}Send a spot listing request for your organization
Sends a spot listing request with the key’s organization as the requester, and answers 201 with the request in status pending. The body is the request of POST /v2/accounts/{accountId}/listing-requests, with the same checks and refusals by name, plus an optional depositClaim: what the organization says it sent to the venue’s custody party (amount in whole token units, sentAt, transactionReference), recorded as a statement, never a credit. The requester is never a body field. A read key answers 403 organization_key_scope_insufficient; a read_write key sends. Each organization can send at most 10 requests per hour, valid or not (429). Authenticate with an organization key (Authorization: Bearer edel_ok_…), made by an owner or an admin in the partner dashboard. The organization comes from the key: another organization’s id answers 404 organization_not_found, the same as an unknown id. A trader key, a session token or no bearer answers 401 organization_key_required; a malformed, unknown or revoked key answers 401 organization_key_malformed, organization_key_unknown or organization_key_revoked. A read needs the read scope, which both key scopes hold; a write needs read_write. Each key can send at most 120 requests a minute across the organization routes (429 with Retry-After). While the partner dashboard feature is off the route answers 403 feature_disabled with featureFlag partner_dashboard. The listing parts also need the partner listings feature: while it is off the route answers 403 feature_disabled with featureFlag partner_listings.
Method and path: POST /v2/organizations/{organizationId}/listing-requests
Authentication: DFNS trader bearer required.
Request schema: OrganizationListingRequestCreate.
Response schema: ListingRequest.
Error envelope: V2ErrorResponse (contains ExternalRestError external-rest-error/v1 as info).
curl --request POST \
--url https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instrumentAdmin": "partner-registrar::1220aa",
"instrumentId": "QUADRILLIONS",
"code": "QUADRILLIONS",
"name": "Quadrillions",
"decimals": 10,
"logoUrl": "https://partner.example/quadrillions.png",
"category": "memes",
"quoteAsset": "USD.E",
"tickSizeAtoms": "1",
"lotSizeAtoms": "1",
"minPrice": "0.0000001",
"maxPrice": "1",
"minQuantity": "1",
"maxQuantity": "100000000",
"minNotionalAtoms": "10000000000",
"listingPriceAtoms": "100000",
"makerReferencePriceAtoms": "100000",
"noSecurityClaim": true
}
'import requests
url = "https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests"
payload = {
"instrumentAdmin": "partner-registrar::1220aa",
"instrumentId": "QUADRILLIONS",
"code": "QUADRILLIONS",
"name": "Quadrillions",
"decimals": 10,
"logoUrl": "https://partner.example/quadrillions.png",
"category": "memes",
"quoteAsset": "USD.E",
"tickSizeAtoms": "1",
"lotSizeAtoms": "1",
"minPrice": "0.0000001",
"maxPrice": "1",
"minQuantity": "1",
"maxQuantity": "100000000",
"minNotionalAtoms": "10000000000",
"listingPriceAtoms": "100000",
"makerReferencePriceAtoms": "100000",
"noSecurityClaim": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
instrumentAdmin: 'partner-registrar::1220aa',
instrumentId: 'QUADRILLIONS',
code: 'QUADRILLIONS',
name: 'Quadrillions',
decimals: 10,
logoUrl: 'https://partner.example/quadrillions.png',
category: 'memes',
quoteAsset: 'USD.E',
tickSizeAtoms: '1',
lotSizeAtoms: '1',
minPrice: '0.0000001',
maxPrice: '1',
minQuantity: '1',
maxQuantity: '100000000',
minNotionalAtoms: '10000000000',
listingPriceAtoms: '100000',
makerReferencePriceAtoms: '100000',
noSecurityClaim: true
})
};
fetch('https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));use reqwest::blocking::Client;
use serde_json::json;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Client::new()
.post("https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests")
.bearer_auth(std::env::var("EDEL_API_KEY")?)
.json(&json!({
"instrumentAdmin": "partner-registrar::1220aa",
"instrumentId": "QUADRILLIONS",
"code": "QUADRILLIONS",
"name": "Quadrillions",
"decimals": 10,
"logoUrl": "https://partner.example/quadrillions.png",
"category": "memes",
"quoteAsset": "USD.E",
"tickSizeAtoms": "1",
"lotSizeAtoms": "1",
"minPrice": "0.0000001",
"maxPrice": "1",
"minQuantity": "1",
"maxQuantity": "100000000",
"minNotionalAtoms": "10000000000",
"listingPriceAtoms": "100000",
"makerReferencePriceAtoms": "100000",
"noSecurityClaim": true
}))
.send()?;
println!("{} {}", response.status(), response.text()?);
Ok(())
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests"
payload := strings.NewReader("{\n \"instrumentAdmin\": \"partner-registrar::1220aa\",\n \"instrumentId\": \"QUADRILLIONS\",\n \"code\": \"QUADRILLIONS\",\n \"name\": \"Quadrillions\",\n \"decimals\": 10,\n \"logoUrl\": \"https://partner.example/quadrillions.png\",\n \"category\": \"memes\",\n \"quoteAsset\": \"USD.E\",\n \"tickSizeAtoms\": \"1\",\n \"lotSizeAtoms\": \"1\",\n \"minPrice\": \"0.0000001\",\n \"maxPrice\": \"1\",\n \"minQuantity\": \"1\",\n \"maxQuantity\": \"100000000\",\n \"minNotionalAtoms\": \"10000000000\",\n \"listingPriceAtoms\": \"100000\",\n \"makerReferencePriceAtoms\": \"100000\",\n \"noSecurityClaim\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://testnet.edel-api.xyz/v2/organizations/{organizationId}/listing-requests")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"instrumentAdmin\": \"partner-registrar::1220aa\",\n \"instrumentId\": \"QUADRILLIONS\",\n \"code\": \"QUADRILLIONS\",\n \"name\": \"Quadrillions\",\n \"decimals\": 10,\n \"logoUrl\": \"https://partner.example/quadrillions.png\",\n \"category\": \"memes\",\n \"quoteAsset\": \"USD.E\",\n \"tickSizeAtoms\": \"1\",\n \"lotSizeAtoms\": \"1\",\n \"minPrice\": \"0.0000001\",\n \"maxPrice\": \"1\",\n \"minQuantity\": \"1\",\n \"maxQuantity\": \"100000000\",\n \"minNotionalAtoms\": \"10000000000\",\n \"listingPriceAtoms\": \"100000\",\n \"makerReferencePriceAtoms\": \"100000\",\n \"noSecurityClaim\": true\n}")
.asString();{
"id": "<string>",
"requester": {
"kind": "account",
"accountId": "<string>"
},
"marketId": "<string>",
"status": "pending",
"request": {
"instrumentAdmin": "<string>",
"instrumentId": "<string>",
"code": "<string>",
"name": "<string>",
"decimals": 5,
"logoUrl": "<string>",
"category": "crypto",
"quoteAsset": "<string>",
"tickSizeAtoms": "<string>",
"lotSizeAtoms": "<string>",
"minPrice": "<string>",
"maxPrice": "<string>",
"minQuantity": "<string>",
"maxQuantity": "<string>",
"minNotionalAtoms": "<string>",
"listingPriceAtoms": "<string>",
"makerReferencePriceAtoms": "<string>",
"noSecurityClaim": true
},
"partnerLogoUrl": "<string>",
"storedLogoUrl": "<string>",
"timestamp": 1,
"datetime": "<string>",
"decidedAt": "<string>",
"refusalReason": "<string>"
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "spot_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused"
}
}Authorizations
The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field. When invitation-only access is enabled, private operations require the account's sign-in email to be invited. Sign-in can complete without an invitation, but private HTTP, MCP and FIX operations refuse with access_not_allowlisted (HTTP 403): "Private access is limited to invited accounts. Contact support to request access." Public market data remains available. Invitation changes apply to the next private operation, including existing FIX sessions. Do not retry until support confirms access.
Body
Response
Created