{
  "opencollection": "1.0.0",
  "info": {
    "name": "Platform Server Accounts Wallets API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Wallets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Wallets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform-server.exampleanchor.com/wallets",
            "params": [
              {
                "name": "include_deleted",
                "value": "",
                "type": "query",
                "description": "When set to `true`, includes soft-deleted wallets in the response. When `false` or omitted, only non-deleted wallets are returned."
              },
              {
                "name": "enabled",
                "value": "",
                "type": "query",
                "description": "Filter wallets by enabled/disabled status."
              },
              {
                "name": "user_managed",
                "value": "",
                "type": "query",
                "description": "Filter by user-managed wallets."
              },
              {
                "name": "supported_assets",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of asset codes or IDs to filter wallets by supported assets (max 20)."
              }
            ]
          },
          "docs": "Fetches the list of available wallet providers to populate the dropdown box in the New Disbursement flow. The organization should coordinate with the wallet provider before selecting a particular wallet provider for a disbursement. By default, soft-deleted wallets are excluded from the response. Use the `include_deleted` parameter to include them."
        },
        {
          "info": {
            "name": "Create Wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform-server.exampleanchor.com/wallets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new wallet provider that can be used for disbursements. The wallet must be configured with supported assets and proper authentication domains."
        },
        {
          "info": {
            "name": "Update Wallet",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://platform-server.exampleanchor.com/wallets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the wallet to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint is used to enable or disable a wallet provider. Note: the organization should coordinate with the wallet provider before selecting a particular wallet provider for a disbursement."
        },
        {
          "info": {
            "name": "Delete Wallet",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform-server.exampleanchor.com/wallets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the wallet to delete"
              }
            ]
          },
          "docs": "Soft deletes a wallet provider."
        }
      ]
    }
  ],
  "bundled": true
}