{
  "opencollection": "1.0.0",
  "info": {
    "name": "Method Account Attributes Account Payment Instruments API",
    "version": "2025-12-01"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Account Payment Instruments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all account payment instruments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://production.methodfi.com/accounts/:accountId/payment_instruments",
            "headers": [
              {
                "name": "Method-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the account."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination (1-indexed)."
              },
              {
                "name": "page_limit",
                "value": "",
                "type": "query",
                "description": "Number of items per page."
              },
              {
                "name": "page_cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for cursor-based pagination. Use the value from `Pagination-Page-Cursor-Next` or `Pagination-Page-Cursor-Prev` response headers."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of payment instruments for the specified account."
        },
        {
          "info": {
            "name": "Create an account payment instrument",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://production.methodfi.com/accounts/:accountId/payment_instruments",
            "headers": [
              {
                "name": "Method-Version",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new payment instrument for the specified account."
        },
        {
          "info": {
            "name": "Retrieve an account payment instrument",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://production.methodfi.com/accounts/:accountId/payment_instruments/:pmtInsId",
            "headers": [
              {
                "name": "Method-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the account."
              },
              {
                "name": "pmtInsId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the account payment instrument."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves an account payment instrument by its unique identifier."
        },
        {
          "info": {
            "name": "Close an account payment instrument",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://production.methodfi.com/accounts/:accountId/payment_instruments/:pmtInsId",
            "headers": [
              {
                "name": "Method-Version",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the account."
              },
              {
                "name": "pmtInsId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the account payment instrument."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Closes an account payment instrument. This endpoint is only available starting with API version `2025-12-01`."
        }
      ]
    }
  ],
  "bundled": true
}