All calls below use the base URL and header from Authentication:
export BASE_URL=https://api.scripxhq.com and X-ScripX-Key: $SCRIPX_KEY. Run the whole flow first with a scripx_test_… key in the sandbox.1. Connect the exporter firm
Register the firm, then verify it under the firm’s own mandate.state is connected.
2. List the sellable credits
scheme, face_paise, balance_paise, expiry_date and a sellable flag. A credit with sellable: true has already cleared provenance screening and is ready to quote.
3. Quote each credit
Price one specific credit directly by itsscrip_no:
all_in_paise is the one number the seller receives: net, GST-exempt, nothing deducted after. valid_until is the firm window; quote_ref is your support reference.
4. Place the order with a floor
min_pct_bps is the seller’s structural price floor: the order never fills below it. The Idempotency-Key makes a retry safe.
5. Get paid, with a UTR
Settlement is delivery-versus-payment. Title moves seller to buyer on ICEGATE, and the payout fires on ICEGATE confirmation by IMPS with a UTR, in minutes, same business day (T+0). Watch it with a webhook rather than polling:order.matched then settlement.settled then payout.sent. The audit export carries the UTR into a tamper-evident record your auditor can verify offline.