{
  "opencollection": "1.0.0",
  "info": {
    "name": "Business Accounting Applications API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a distinguished name (DN)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://b2b.revolut.com/api/1.0/distinguished-name"
          },
          "docs": "Get the distinguished name (DN) of your transport certificate which is used to identify your requests.\n\nThis parameter is needed in order to [register or update your application via DCR](https://developer.revolut.com/docs/guides/build-banking-apps/register-your-application-using-dcr/)."
        },
        {
          "info": {
            "name": "Register an application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://b2b.revolut.com/api/1.0/register",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Register an application via DCR.\nThis endpoint accepts only JWT, which needs to be precalculated.\n\nFor more information, see [Register your application using DCR: Create a JWT](https://developer.revolut.com/docs/guides/build-banking-apps/register-your-application-using-dcr/create-a-jwt)."
        },
        {
          "info": {
            "name": "Get an application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://b2b.revolut.com/api/1.0/register/:ClientId",
            "params": [
              {
                "name": "ClientId",
                "value": "",
                "type": "path",
                "description": "The Client ID of the application."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve an already registered application."
        },
        {
          "info": {
            "name": "Update an application",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://b2b.revolut.com/api/1.0/register/:ClientId",
            "params": [
              {
                "name": "ClientId",
                "value": "",
                "type": "path",
                "description": "The Client ID of the application."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing application.\n\nThis endpoint only accepts JWT, which must be precalculated as described in [Create a JWT](https://developer.revolut.com/docs/guides/build-banking-apps/register-your-application-using-dcr/create-a-jwt)."
        },
        {
          "info": {
            "name": "Delete an application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://b2b.revolut.com/api/1.0/register/:ClientId",
            "params": [
              {
                "name": "ClientId",
                "value": "",
                "type": "path",
                "description": "The Client ID of the application."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing application."
        }
      ]
    }
  ],
  "bundled": true
}