{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bridge API Keys Bridge Wallets API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Api-Key",
      "value": "{{Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Bridge Wallets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all Bridge Wallets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/wallets",
            "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 bridge wallet id. If this is specified, the next page that starts with a bridge wallet right AFTER the specified bridge wallet id on the bridge wallet timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that bridge wallets older than the specified bridge wallet id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a bridge wallet id. If this is specified, the previous page that ends with a bridge wallet right BEFORE the specified bridge wallet id on the bridge wallet timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that bridge wallets newer than the specified bridge wallet id will be returned (shouldn't be set if starting_after is set)"
              }
            ]
          },
          "docs": "List of Bridge Wallets"
        },
        {
          "info": {
            "name": "Get total balances of all Bridge Wallets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/wallets/total_balances"
          },
          "docs": "Get the total balances of all Bridge Wallets"
        },
        {
          "info": {
            "name": "Get a Bridge Wallet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/wallets/:bridgeWalletID",
            "params": [
              {
                "name": "bridgeWalletID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a Bridge Wallet by its ID"
        },
        {
          "info": {
            "name": "Get transaction history for a Bridge Wallet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/wallets/:bridgeWalletID/history",
            "params": [
              {
                "name": "bridgeWalletID",
                "value": "",
                "type": "path"
              },
              {
                "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 bridge wallet event id. If this is specified, the next page that starts with an event right AFTER the specified event id on the event timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that events older than the specified event id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a bridge wallet event id. If this is specified, the previous page that ends with an event right BEFORE the specified event id on the event timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that events newer than the specified event id will be returned (shouldn't be set if starting_after is set)"
              },
              {
                "name": "starting_time",
                "value": "",
                "type": "query",
                "description": "The inclusive starting time in ISO8601 format. If specified, only Bridge Wallet history events created at or after this time are returned. Can be combined with ending_time to form a bounded time window or with an event ID cursor to paginate within the filtered results."
              },
              {
                "name": "ending_time",
                "value": "",
                "type": "query",
                "description": "The exclusive ending time in ISO8601 format. If specified, only Bridge Wallet history events created before this time are returned. Can be combined with starting_time to form a bounded time window or with an event ID cursor to paginate within the filtered results."
              }
            ]
          },
          "docs": "Get the list of transactions involving this Bridge Wallet"
        },
        {
          "info": {
            "name": "Get all Bridge Wallets for a customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/wallets",
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              },
              {
                "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 bridge wallet id. If this is specified, the next page that starts with a bridge wallet right AFTER the specified bridge wallet id on the bridge wallet timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that bridge wallets older than the specified bridge wallet id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a bridge wallet id. If this is specified, the previous page that ends with a bridge wallet right BEFORE the specified bridge wallet id on the bridge wallet timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that bridge wallets newer than the specified bridge wallet id will be returned (shouldn't be set if starting_after is set)"
              }
            ]
          },
          "docs": "List of Bridge Wallets for the specified Customer ID"
        },
        {
          "info": {
            "name": "Create a Bridge Wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/wallets",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Bridge Wallet"
        },
        {
          "info": {
            "name": "Get a Bridge Wallet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/wallets/:bridgeWalletID",
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              },
              {
                "name": "bridgeWalletID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a Bridge Wallet for the specified Bridge Wallet ID"
        }
      ]
    }
  ],
  "bundled": true
}