{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bridge API Keys Transfers API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Api-Key",
      "value": "{{Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Transfers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all transfers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/transfers",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of items to return (min 1, default 10, max 100)"
              },
              {
                "name": "starting_after",
                "value": "",
                "type": "query",
                "description": "This is a transfer id. If this is specified, the next page that starts with a transfer right AFTER the specified transfer id on the transfer timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that transfers older than the specified transfer id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a transfer id. If this is specified, the previous page that ends with a transfer right BEFORE the specified transfer id on the transfer timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that transfers newer than the specified transfer id will be returned (shouldn't be set if starting_after is set)"
              },
              {
                "name": "tx_hash",
                "value": "",
                "type": "query",
                "description": "The hash of the transaction"
              },
              {
                "name": "updated_after_ms",
                "value": "",
                "type": "query",
                "description": "This is a unix timestamp in milliseconds. If this is specified, objects updated AFTER the specified timestamp will be returned"
              },
              {
                "name": "updated_before_ms",
                "value": "",
                "type": "query",
                "description": "This is a unix timestamp in milliseconds. If this is specified, objects updated BEFORE the specified timestamp will be returned"
              },
              {
                "name": "template_id",
                "value": "",
                "type": "query",
                "description": "This is a template id. If this is specified, the transfers with the specified template id will be returned."
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Filter transfers by their external state. See [Transfer States](https://apidocs.bridge.xyz/platform/orchestration/transfers/transfer-states) for more details."
              }
            ]
          },
          "docs": "Get all transfers"
        },
        {
          "info": {
            "name": "Create a transfer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bridge.xyz/v0/transfers",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a transfer.\n\nIf this transfer cannot be created because the funding source is temporarily busy processing another update, this endpoint may return `409 resource_state_conflict`.\nThis is a transient, retryable response. You may safely retry the same request with the same `Idempotency-Key`.\n"
        },
        {
          "info": {
            "name": "List transfers with pending USDT trades",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/transfers/pending",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of items to return (min 1, default 10, max 100)"
              },
              {
                "name": "starting_after",
                "value": "",
                "type": "query",
                "description": "This is a transfer id. If this is specified, the next page that starts with a transfer right AFTER the specified transfer id on the transfer timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that transfers older than the specified transfer id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a transfer id. If this is specified, the previous page that ends with a transfer right BEFORE the specified transfer id on the transfer timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that transfers newer than the specified transfer id will be returned (shouldn't be set if starting_after is set)"
              }
            ]
          },
          "docs": "Returns transfers that have a stuck USDT-to-USD trade awaiting execution. Results are sorted by creation time (newest first) and paginated.\n\nUse `POST /transfers/{transferID}/execute` to force-execute a pending trade at the current market rate.\n"
        },
        {
          "info": {
            "name": "Get a transfer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/transfers/:transferID",
            "params": [
              {
                "name": "transferID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a transfer object from the passed in transfer ID"
        },
        {
          "info": {
            "name": "Update a transfer",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.bridge.xyz/v0/transfers/:transferID",
            "params": [
              {
                "name": "transferID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a transfer that was previously created. Must be in the awaiting_funds state."
        },
        {
          "info": {
            "name": "Delete a transfer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.bridge.xyz/v0/transfers/:transferID",
            "params": [
              {
                "name": "transferID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a transfer that was previously created. Must be in the awaiting_funds state."
        },
        {
          "info": {
            "name": "Execute a pending USDT trade on a transfer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bridge.xyz/v0/transfers/:transferID/execute",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "transferID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Force-executes a stuck USDT-to-USD trade at the current market rate. The transfer must have a pending trade (i.e. appear in `GET /transfers/pending`).\n\nAfter execution, the transfer will continue processing normally with the executed market rate.\n"
        },
        {
          "info": {
            "name": "Get all static templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/transfers/static_templates",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of items to return (min 1, default 10, max 100)"
              },
              {
                "name": "starting_after",
                "value": "",
                "type": "query",
                "description": "This is a transfer id. If this is specified, the next page that starts with a transfer right AFTER the specified transfer id on the transfer timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that transfers older than the specified transfer id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a transfer id. If this is specified, the previous page that ends with a transfer right BEFORE the specified transfer id on the transfer timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that transfers newer than the specified transfer id will be returned (shouldn't be set if starting_after is set)"
              }
            ]
          },
          "docs": "Get all static templates"
        }
      ]
    }
  ],
  "bundled": true
}