{
  "info": {
    "name": "Sterling RFQ Bot API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "site", "value": "https://sterlingchain.net" },
    { "key": "api", "value": "https://sterlingchain.net/api/v1/rfq" },
    { "key": "native", "value": "https://sterlingchain.net/rfq-native" },
    { "key": "bot_wallet", "value": "<solana_public_key>" },
    { "key": "fill_usd", "value": "250" },
    { "key": "order_id", "value": "rfq_million_e156514a5fb9" },
    { "key": "tranche_id", "value": "fee_claim_tranche_000001" },
    { "key": "tx_hash", "value": "<solana_signature>" }
  ],
  "item": [
    { "name": "Current Sellable Ticket", "request": { "method": "GET", "url": "{{api}}/current-sellable-ticket" } },
    { "name": "Market Tickets", "request": { "method": "GET", "url": "{{api}}/market-tickets" } },
    { "name": "RFQ Levels", "request": { "method": "GET", "url": "{{api}}/levels" } },
    {
      "name": "RFQ Quote",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "body": { "mode": "raw", "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"tranche_id\": \"{{tranche_id}}\",\n  \"fill_usd\": \"{{fill_usd}}\",\n  \"payment_rail\": \"USDC\"\n}" },
        "url": "{{api}}/quote"
      }
    },
    {
      "name": "Build 1492 Claim",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "body": { "mode": "raw", "raw": "{\n  \"bot_wallet\": \"{{bot_wallet}}\",\n  \"order_id\": \"{{order_id}}\",\n  \"tranche_id\": \"{{tranche_id}}\",\n  \"fill_usd\": \"{{fill_usd}}\",\n  \"payment_rail\": \"USDC\"\n}" },
        "url": "{{native}}/modular-claim-take"
      }
    },
    {
      "name": "Verify Payment Signature",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "body": { "mode": "raw", "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"tranche_id\": \"{{tranche_id}}\",\n  \"tx_hash\": \"{{tx_hash}}\",\n  \"l1_signature\": \"{{tx_hash}}\",\n  \"fill_usd\": \"{{fill_usd}}\",\n  \"payment_rail\": \"USDC\",\n  \"bot_wallet\": \"{{bot_wallet}}\"\n}" },
        "url": "{{native}}/settlement/verify-payment"
      }
    }
  ]
}
