{
  "opencollection": "1.0.0",
  "info": {
    "name": "Pismo Accounts API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pismo.io/accounts/v1/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a core-banking account bound to a customer and a program."
        },
        {
          "info": {
            "name": "Get account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pismo.io/accounts/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get account"
        },
        {
          "info": {
            "name": "Update account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.pismo.io/accounts/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update account"
        },
        {
          "info": {
            "name": "Update account status",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.pismo.io/accounts/v1/accounts/:accountId/status",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update account status"
        },
        {
          "info": {
            "name": "Transfer account ownership",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.pismo.io/accounts/v1/accounts/:accountId/entity",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transfer account ownership"
        },
        {
          "info": {
            "name": "Get account balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pismo.io/accounts/v1/account-balances",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get account balance"
        }
      ]
    }
  ],
  "bundled": true
}