{
  "opencollection": "1.0.0",
  "info": {
    "name": "Natural Agent Keys Wallets API",
    "version": "0.2.0"
  },
  "items": [
    {
      "info": {
        "name": "Wallets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List wallets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/wallets",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partyId",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List wallets"
        },
        {
          "info": {
            "name": "Create wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.natural.com/wallets",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a standard wallet"
        },
        {
          "info": {
            "name": "Get wallet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/wallets/:walletId",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a wallet"
        },
        {
          "info": {
            "name": "Update wallet",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.natural.com/wallets/:walletId",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update wallet metadata"
        },
        {
          "info": {
            "name": "Set default wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.natural.com/wallets/:walletId/default",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Make a wallet the default. Payments sent to the party's email, phone number, or handle land in the default wallet."
        },
        {
          "info": {
            "name": "Freeze wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.natural.com/wallets/:walletId/freeze",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Freeze a wallet"
        },
        {
          "info": {
            "name": "Unfreeze wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.natural.com/wallets/:walletId/unfreeze",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unfreeze a wallet that was frozen through the API"
        },
        {
          "info": {
            "name": "List wallet agents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.natural.com/wallets/:walletId/agents",
            "headers": [
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List agents granted access to a wallet"
        },
        {
          "info": {
            "name": "Grant agent access to wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.natural.com/wallets/:walletId/agents",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Grant an agent access to a wallet"
        },
        {
          "info": {
            "name": "Set agent default wallet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.natural.com/wallets/:walletId/agents/:agentId/default",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              },
              {
                "name": "agentId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Make this wallet the default for the attached agent"
        },
        {
          "info": {
            "name": "Detach agent from wallet",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.natural.com/wallets/:walletId/agents/:agentId",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              },
              {
                "name": "X-Agent-ID",
                "value": ""
              },
              {
                "name": "X-Instance-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "walletId",
                "value": "",
                "type": "path"
              },
              {
                "name": "agentId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Detach an agent from a wallet"
        }
      ]
    }
  ],
  "bundled": true
}