propay.canExecute

Validate the Propay account provisioning entity against the required merchant data and configuration.

POST http://api.kompliant.com/propay.canExecute (OpenAPI specification)

Usage Info

Validate that a Propay account provisioning entity has all the required information to execute provisioning operations, including complete business data, owner information, bank accounts, sales information, documents, and partner configuration settings.

Use this method before calling propay.execute to identify any missing requirements and ensure successful provisioning. The validation checks vary depending on the operation type (onboarding vs. document sync) to be executed.

For troubleshooting validation errors and finding the right API endpoints, see Propay Validation Reference.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
propay_idstringYesThe identifier for the Propay provisioning entity.

Example

{
  "propay_id": "ape_7h1EpxerrZQyLnRC1EQ9Ck"
}

Response

Data

ParameterTypeDescription
can_executebooleanSpecifies whether the Propay provisioning can be executed or not.
missing_requirementsarray of objectsThe missing requirements attribute is defined in the table below.

Missing Requirements Parameters

ParameterTypeDescription
codestringType of the missing requirement.
entity_typestringEntity type related to the missing requirement. See Propay Validation Reference for the list of entity types and their required fields.
entity_idstringIdentifier for the entity with the missing requirement.
messagestringA descriptive message explaining the missing requirement.
related_methodsarrayAPI methods that can be used to fulfill this requirement.
fieldsarrayWhen the missing requirement is of type FIELDS_REQUIRED, the list of fields missing from the specified entity.

Example without missing requirements

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
    "version": "2025-03-24"
  },
  "data": {
    "can_execute": true,
		"missing_requirements": []
  }
}

Example with missing requirements

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
    "version": "2025-03-24"
  },
  "data": {
    "can_execute": false,
    "missing_requirements": [
      {
        "code": "BUSINESS_OWNER_REQUIRED",
        "entity_type": "BusinessOwner",
        "entity_id": "b_7h1EpxerrZQyLnRC1EQ9Ck",
        "message": "At least one business owner with complete information is required",
        "related_methods": [
          "person.create",
          "business.addOwner"
        ]
      },
      {
        "code": "FIELDS_REQUIRED",
        "entity_type": "Business",
        "entity_id": "b_7h1EpxerrZQyLnRC1EQ9Ck",
        "message": "Required fields are missing from the business entity",
        "related_methods": [
          "business.create",
          "business.update"
        ],
        "fields": [
          "legal_name",
          "tax_number",
          "mcc"
        ]
      },
      {
        "code": "SALES_DETAILS_REQUIRED",
        "entity_type": "BusinessSalesInfo",
        "entity_id": "b_7h1EpxerrZQyLnRC1EQ9Ck",
        "message": "Sales information is required for ProPay provisioning",
        "related_methods": [
          "business.salesInfo.create",
          "business.salesInfo.update"
        ]
      }
    ]
  }
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.
ENTITY_NOT_FOUND400The propay_id provided does not exist.