{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bridge API Keys Static Memos API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Api-Key",
      "value": "{{Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Static Memos",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Static Memos",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/static_memos",
            "params": [
              {
                "name": "status",
                "value": "activated",
                "type": "query",
                "description": "Limit results to those with the given activation status"
              },
              {
                "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 static memo id. If this is specified, the next page that starts with a static memo right AFTER the specified static memo id on the static memo timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that static memo older than the specified static memo id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a static memo id. If this is specified, the previous page that ends with a static memo right BEFORE the specified static memo id on the static memo timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that static memo newer than the specified static memo id will be returned (shouldn't be set if starting_after is set)"
              }
            ]
          },
          "docs": "List all Static Memo objects"
        },
        {
          "info": {
            "name": "List Static Memos for Customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/static_memos",
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              },
              {
                "name": "status",
                "value": "activated",
                "type": "query",
                "description": "Limit results to those with the given activation status"
              },
              {
                "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 static memo id. If this is specified, the next page that starts with a static memo right AFTER the specified static memo id on the static memo timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that static memo older than the specified static memo id will be returned (shouldn't be set if ending_before is set)"
              },
              {
                "name": "ending_before",
                "value": "",
                "type": "query",
                "description": "This is a static memo id. If this is specified, the previous page that ends with a static memo right BEFORE the specified static memo id on the static memo timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that static memo newer than the specified static memo id will be returned (shouldn't be set if starting_after is set)"
              }
            ]
          },
          "docs": "List all Static Memo objects for a customer"
        },
        {
          "info": {
            "name": "Create a Static Memo",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/static_memos",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Static Memo for the specified customer"
        },
        {
          "info": {
            "name": "Get a Static Memo",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/static_memos/:staticMemoID",
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              },
              {
                "name": "staticMemoID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the Static Memo object from the passed ID"
        },
        {
          "info": {
            "name": "Update a Static Memo",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/static_memos/:staticMemoID",
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              },
              {
                "name": "staticMemoID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update instructions for an existing Static Memo"
        },
        {
          "info": {
            "name": "Static Memo Activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/customers/:customerID/static_memos/:staticMemoID/history",
            "params": [
              {
                "name": "customerID",
                "value": "",
                "type": "path"
              },
              {
                "name": "staticMemoID",
                "value": "",
                "type": "path"
              },
              {
                "name": "deposit_id",
                "value": "",
                "type": "query",
                "description": "The deposit id associated with the events. Cannot be passed if deposit_ids is also passed"
              },
              {
                "name": "deposit_ids",
                "value": "",
                "type": "query",
                "description": "The deposit ids associated with the events. Pass a list of deposit ids like \"deposit_ids[]=id1&deposit_ids[]=id2\". Cannot be passed if deposit_id is also passed"
              },
              {
                "name": "tx_hash",
                "value": "",
                "type": "query",
                "description": "The hash of the transaction"
              },
              {
                "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 an 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 an 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": "event_type",
                "value": "",
                "type": "query",
                "description": "Filter history by event type"
              }
            ]
          },
          "docs": "History of activity for a Static Memo"
        },
        {
          "info": {
            "name": "Static Memo Activity Across All Customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bridge.xyz/v0/static_memos/history",
            "params": [
              {
                "name": "deposit_id",
                "value": "",
                "type": "query",
                "description": "The deposit id associated with the events. Cannot be passed if deposit_ids is also passed"
              },
              {
                "name": "deposit_ids",
                "value": "",
                "type": "query",
                "description": "The deposit ids associated with the events. Pass a list of deposit ids like \"deposit_ids[]=id1&deposit_ids[]=id2\". Cannot be passed if deposit_id is also passed"
              },
              {
                "name": "tx_hash",
                "value": "",
                "type": "query",
                "description": "The hash of the transaction"
              },
              {
                "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 an 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 an 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": "event_type",
                "value": "",
                "type": "query",
                "description": "Filter history by event type"
              }
            ]
          },
          "docs": "History of activity across all customers and Virtual Accounts"
        }
      ]
    }
  ],
  "bundled": true
}