{
  "opencollection": "1.0.0",
  "info": {
    "name": "Orum Authentication External Accounts API",
    "version": "v2022-09-21"
  },
  "items": [
    {
      "info": {
        "name": "External Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all external accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "index",
                "value": "",
                "type": "query",
                "description": "Index for paginated results"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Max number of results to return"
              },
              {
                "name": "account_reference_id",
                "value": "",
                "type": "query",
                "description": "Filter by account reference id"
              },
              {
                "name": "customer_reference_id",
                "value": "",
                "type": "query",
                "description": "Filter by customer reference id"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get all external account objects."
        },
        {
          "info": {
            "name": "Create an external account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create an external account object."
        },
        {
          "info": {
            "name": "Update an external account by reference id",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update an external account object using its reference id."
        },
        {
          "info": {
            "name": "Get an external account by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts/:id",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Orum generated unique id for the resource for the external account you are fetching."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get an external account object."
        },
        {
          "info": {
            "name": "Update an external account by id",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts/:id",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Orum generated unique id for the resource for the external account you are updating."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update an external account object."
        },
        {
          "info": {
            "name": "Partial update an external account by id",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts/:id",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Orum generated unique id for the resource for the external account you are updating."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update individual fields on an external account object."
        },
        {
          "info": {
            "name": "Closes an external account by id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-sandbox.orum.io/deliver/external/accounts/:id",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Orum generated unique id for the resource for the external account you are updating."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Close an external account object so they are unable to transact."
        },
        {
          "info": {
            "name": "Get all external accounts for a specific person",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.orum.io/deliver/persons/:id/external/accounts",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Orum generated unique id for the person you are requesting accounts for"
              },
              {
                "name": "index",
                "value": "",
                "type": "query",
                "description": "Index for paginated results"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Max number of results to return"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get all external account objects, associated with a specific person"
        },
        {
          "info": {
            "name": "Get all external accounts for a specific business",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.orum.io/deliver/businesses/:id/external/accounts",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Orum generated unique id for the business you are requesting accounts for"
              },
              {
                "name": "index",
                "value": "",
                "type": "query",
                "description": "Index for paginated results"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Max number of results to return"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get all external account objects, associated with a specific business"
        }
      ]
    }
  ],
  "bundled": true
}