Skip to main content
POST
PREPARE a cross on your desk (never settles)
Cross desk endpoints require the cross desk to be active on your key. Write to amin@eximfiles.io to have it enabled.
Books a deal between two firms on your desk, your exporter selling, your importer buying, at prices you set on both sides. Works equally for a brokered external block and an internal transfer between your own entities (intra_group, e.g. straight from a netting plan). Requires the orders:write scope. Returns 201 with the prepared deal. A prepared cross never settles by itself. Money moves only at settle, and the trade completes only at confirm. Each step is a separate, deliberate call.

Request example

With rfq: true the counterparty must accept the terms before the cross can be funded; without it the deal is ready for settle immediately.

Response example

Errors

  • 422 unprocessable, missing parties or inconsistent prices.
Terms used here: scheme, paise, bps, cross, RFQ, group netting, API key, scope. Full list in the terminology annexure.

Next steps

Authorizations

X-ScripX-Key
string
header
required

Your API key, e.g. scripx_live_…. Bound to one firm; tenant isolation is enforced.

Body

application/json
seller_iec
string
required
buyer_iec
string
required
amount_paise
integer
required
buy_price_bps
integer
required
sell_price_bps
integer
required
scheme
string
rfq
boolean

send as an RFQ the counterparty must accept before settle

note
string

Response

OK

deal
object