https://orchestration.flashnet.xyz.
Conventions
- Request bodies are JSON. Any other content type returns
415 unsupported_media_type. - Bodies are capped at 1 MiB. Larger requests return
413 payload_too_large. - API errors normally return
{ "error": { "code": "...", "message": "..." } }; attestation has a separate response shape. See Errors. - Amounts are integer strings in the asset’s smallest unit.
- This reference is generated from the official OpenAPI 3.1 document. Swagger UI is also available.
Idempotency
Every mutating endpoint called with a partner key requires anX-Idempotency-Key header of 1 to 255 printable ASCII characters. A UUID works. Server-key requests are scoped to (partnerId, endpoint, key), so the same string on two endpoints is two keys. Client requests also include the API-key ID and caller IP in the scope; changing either does not preserve the same replay guarantee.
A replay of a stored response includes X-Idempotency-Replayed: true. JSON whitespace and object key order do not affect whether the body matches. The same key with a different body returns 409 idempotency_conflict. If a retry returns 409 idempotency_in_progress, wait and retry with the same key. Honor Retry-After when present.
On /submit and /onramp, a successful replay can refresh the status of the same order. The response includes X-Idempotency-Status-Refreshed: true when it does.
Reuse the key after a timeout, 408 request_aborted, or a 5xx response, subject to the closed quote case below. The API stores most 4xx responses from the endpoint. After a definitive rejection, correcting the request or retrying with newly available deposit evidence is a new attempt and needs a new key. Keep the original funding transaction. Do not send funds again.
Some 403 responses are not cached, so the same key and body can be retried once the restriction is lifted: sanctioned_address and screening_blocked on /quote and /offramp, and tag_not_allowed on /quote, /offramp, and /onramp.
On /quote and /offramp, two responses use 503 quote_unavailable. A temporary failure can say "Tron execution is temporarily unavailable" in error.message. Retry with the same key and body. A closed attempt’s message starts with "This quote attempt is closed. Do not fund it." and the response can include a top-level quoteId. Request a new quote with a new key only if you have sent no funds. If you have paid, check the original quote’s status.
Retry 503 quote_readiness_unavailable and 503 quote_outcome_unknown with the original key and body. Wait for a successful quote before funding.
A replay of a quote that has since expired can return 410 quote_expired in place of the stored response. Check expiresAt before funding any replayed quote.
For 410 quote_preparation_expired, read error.message. Start a new quote with a new key only if the message says no deposit instructions were issued and you have sent no funds. If the message directs you to support, or you receive 410 quote_preparation_review_required, contact support with the original quoteId when available.
Endpoint groups
- Quotes and orders:
/v1/orchestration/. Route discovery uses/v2/orchestration/routes. - Standing deposit addresses:
/v1/standing-deposit-addresses/. - Webhooks:
/v1/webhooks, with separate subscriptions under/recovery,/funding,/ingress, and/shielded-funding. - Lightning invoice inspection:
POST /v1/lightning/decodeparses a BOLT11 invoice without paying it. - Address blocks:
GET /v1/orchestration/blocked-addresses. - Reconciliation:
/v1/partner/dashboard/operations. - Affiliates:
/v1/affiliates/. - Pay links:
/v1/pay-linksand/pay/. - SSE:
/v1/sse/operations/. - Legacy addresses:
/v1/accumulation-addressesand/v1/liquidation-addresses, superseded by standing addresses.