{
  "opencollection": "1.0.0",
  "info": {
    "name": "Modern Treasury AccountCapability IncomingPaymentDetail API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "IncomingPaymentDetail",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "list incoming payment_details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/incoming_payment_details",
            "params": [
              {
                "name": "after_cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "One of `credit` or `debit`."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "The current status of the incoming payment order. One of `pending`, `completed`, or `returned`."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or `wire`."
              },
              {
                "name": "as_of_date_start",
                "value": "",
                "type": "query",
                "description": "Filters incoming payment details with an as_of_date starting on or after the specified date (YYYY-MM-DD)."
              },
              {
                "name": "as_of_date_end",
                "value": "",
                "type": "query",
                "description": "Filters incoming payment details with an as_of_date starting on or before the specified date (YYYY-MM-DD)."
              },
              {
                "name": "metadata",
                "value": "",
                "type": "query",
                "description": "For example, if you want to query for records with metadata key `Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query parameters."
              },
              {
                "name": "virtual_account_id",
                "value": "",
                "type": "query",
                "description": "If the incoming payment detail is in a virtual account, the ID of the Virtual Account."
              },
              {
                "name": "subtype",
                "value": "",
                "type": "query",
                "description": "An additional layer of classification for the type of incoming payment detail. For example, a `type` of `stablecoin` may have a `subtype` of `ethereum` or `solana`."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a list of Incoming Payment Details."
        },
        {
          "info": {
            "name": "get incoming payment detail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/incoming_payment_details/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the incoming payment detail."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get an existing Incoming Payment Detail."
        },
        {
          "info": {
            "name": "update incoming payment detail",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:3000/api/incoming_payment_details/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the incoming payment detail."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update an existing Incoming Payment Detail."
        },
        {
          "info": {
            "name": "create async incoming payment detail",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:3000/api/simulations/incoming_payment_details/create_async",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Simulate Incoming Payment Detail"
        }
      ]
    }
  ],
  "bundled": true
}