{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mercury API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/accounts"
          },
          "docs": "List accounts"
        },
        {
          "info": {
            "name": "Get an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/accounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              }
            ]
          },
          "docs": "Get an account"
        }
      ]
    },
    {
      "info": {
        "name": "Cards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List cards for an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/accounts/:id/cards",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              }
            ]
          },
          "docs": "List cards for an account"
        }
      ]
    },
    {
      "info": {
        "name": "Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List transactions for an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/accounts/:id/transactions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "start",
                "value": "",
                "type": "query"
              },
              {
                "name": "end",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List transactions for an account"
        },
        {
          "info": {
            "name": "Get a single transaction for an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/accounts/:id/transactions/:transactionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single transaction for an account"
        },
        {
          "info": {
            "name": "Update note or category on a transaction",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mercury.com/api/v1/accounts/:id/transactions/:transactionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update note or category on a transaction"
        }
      ]
    },
    {
      "info": {
        "name": "Statements",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List monthly statements for an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/accounts/:id/statements",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              }
            ]
          },
          "docs": "List monthly statements for an account"
        }
      ]
    },
    {
      "info": {
        "name": "Recipients",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List recipients",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/recipients"
          },
          "docs": "List recipients"
        },
        {
          "info": {
            "name": "Create a recipient",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercury.com/api/v1/recipients"
          },
          "docs": "Create a recipient"
        },
        {
          "info": {
            "name": "Get a recipient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/recipients/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Recipient ID."
              }
            ]
          },
          "docs": "Get a recipient"
        },
        {
          "info": {
            "name": "Update a recipient",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mercury.com/api/v1/recipients/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Recipient ID."
              }
            ]
          },
          "docs": "Update a recipient"
        }
      ]
    },
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Send money to a recipient (ACH or wire)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercury.com/api/v1/account/:id/recipients",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              }
            ]
          },
          "docs": "Sends an outbound ACH or domestic wire payment from a Mercury account\nto a recipient. Requires read-and-write tokens from a whitelisted IP.\n"
        },
        {
          "info": {
            "name": "Cancel a pending payment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mercury.com/api/v1/account/:id/transactions/:transactionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Mercury account ID."
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel a pending payment"
        }
      ]
    },
    {
      "info": {
        "name": "Treasury",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get treasury account details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/treasury"
          },
          "docs": "Get treasury account details"
        }
      ]
    },
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/webhooks"
          },
          "docs": "List webhooks"
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercury.com/api/v1/webhooks"
          },
          "docs": "Create a webhook"
        },
        {
          "info": {
            "name": "Get a webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercury.com/api/v1/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a webhook"
        },
        {
          "info": {
            "name": "Update a webhook",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mercury.com/api/v1/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a webhook"
        },
        {
          "info": {
            "name": "Delete a webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mercury.com/api/v1/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a webhook"
        }
      ]
    }
  ],
  "bundled": true
}