---
updatedAt: 2026-09-01T16:22:41.000Z
agentTools:
  projectIndex: https://finp2p-docs.ownera.io/llms.txt
---

# Reject the intent

Reject the intent. Optional reason may be supplied.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Transactional API",
    "description": "This is the transactional API reference for application development over the FinP2P Router network.",
    "termsOfService": "https://ownera.io/terms/",
    "contact": {
      "email": "support@ownera.io"
    },
    "version": "0.28"
  },
  "tags": [
    {
      "name": "profiles",
      "description": "Access to Profiles"
    }
  ],
  "paths": {
    "/profiles/asset/{id}/intent/{intentId}/reject": {
      "post": {
        "tags": [
          "profiles"
        ],
        "summary": "Reject the intent",
        "description": "Reject the intent. Optional reason may be supplied.",
        "operationId": "rejectAssetProfileIntent",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID of the asset profile",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/assetId"
            }
          },
          {
            "name": "intentId",
            "in": "path",
            "description": "ID of the intent",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/intentId"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rejectReason": {
                    "type": "string",
                    "pattern": "\\S",
                    "description": "Optional human-readable reason for the rejection; must not be blank when provided"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "successful operation"
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Ownera's custom bearer authentication\n\nThe Ownera authorization header is required to communicate with the Ownera APIs, the header should represent\na JSON object which contains the associated organization id, API key, nonce, timestamp and one time generated access token.\n\nThe one time access token is required to be generated for each request to the Ownera APIs, one time access tokens are time bounded\nby the timestamp value of the authorization object and are limited for one time use, tokens which their timestamp is outside of the\naccepted time range or that the token was already previously used will be rejected.\n\nAccess token is generated by concatenation of the API key, random nonce value and current epoch timestamp in seconds,\nthis digest signed using the associated secret of the API key (HS256, RS256) and encoded as an hexadecimal string.\n\nThe authorization object, including the generated access token, is base64 encoded an sent to the API as bearer authorization header.\n\nsample code snippet (RS256):\n\nconst nonce = crypto.randomBytes(16).toString('hex');\nconst timestamp = Math.floor(new Date().getTime() / 1000);\n\nconst rawAccessToken = `${API_KEY}${nonce}${timestamp}`;\n\nconst accessToken = crypto.createSign('SHA256').update(rawAccessToken).sign(Buffer.from($PRIVATE_KEY)).toString('hex');\n\nconst authInfo = {\n  organization: $ORGANIZATION_ID,\n  apiKey: $API_KEY,\n  nonce,\n  timestamp,\n  accessToken\n};\n\nconst authorizationHeader = Buffer.from(JSON.stringify(authInfo)).toString(\"base64\");\n"
      }
    },
    "schemas": {
      "assetId": {
        "type": "string",
        "description": "The Asset resource id",
        "pattern": "^[^:](?:.+):102:(?:.+)",
        "maxLength": 150,
        "example": "bank-x:102:f461a964-ae08-4e35-b690-24de06d973db"
      },
      "intentId": {
        "type": "string",
        "description": "The intent resource id",
        "pattern": "^[^:](?:.+):105:(?:.+)",
        "maxLength": 150,
        "example": "bank-x:105:9929ccaf-8967-4ba3-9198-a4b8e3128388"
      }
    }
  }
}
```