---
agentTools:
  projectIndex: https://developer.kompliant.com/llms.txt
---

# Get Workflow Pricing

Retrieve detailed pricing information for a workflow including fees, rates, and pricing model details.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Kompliant Web API",
    "description": "The Kompliant Web API provides a robust platform for integrating compliance services into your applications.\nOur APIs enable businesses to manage the entire compliance lifecycle - from application processing to ongoing\nmonitoring and decision defense.\n",
    "version": "2025-03-24",
    "contact": {
      "url": "https://www.kompliant.com/"
    },
    "license": {
      "name": "Proprietary - For Authorized Use Only",
      "url": "https://www.kompliant.com/terms-conditions"
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "samples-languages": [
      "http",
      "shell",
      "go",
      "python",
      "node",
      "java"
    ],
    "headers": [
      {
        "key": "X-API-Version",
        "value": "2025-03-24"
      }
    ]
  },
  "servers": [
    {
      "url": "https://api.kompliant.com",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "kompliantSignatureAuth": [],
      "kompliantApiKey": [],
      "kompliantAuthToken": []
    }
  ],
  "tags": [
    {
      "name": "Workflow",
      "description": "Operations for managing workflows that process data in a subject record"
    }
  ],
  "components": {
    "securitySchemes": {
      "kompliantSignatureAuth": {
        "type": "apiKey",
        "description": "Kompliant Signature Version 1 (KSig1) authentication - Authorization header.\nFormat: KSig1-HMAC-SHA256 <signature>\nPart of the KSig1 authentication that requires all three headers:\nAuthorization, X-API-Key, and X-API-Auth-Token.\n\nSee authentication documentation for details on the signature generation process.\n",
        "name": "Authorization",
        "in": "header"
      },
      "kompliantApiKey": {
        "type": "apiKey",
        "description": "Kompliant Signature Version 1 (KSig1) authentication - API Key header.\nYour Kompliant API Key provided during onboarding.\nRequired for all API requests.\n",
        "name": "X-API-Key",
        "in": "header"
      },
      "kompliantAuthToken": {
        "type": "apiKey",
        "description": "Kompliant Signature Version 1 (KSig1) authentication - Auth Token header.\nA valid authentication token obtained through the token endpoint.\nRequired for all authenticated API requests.\n",
        "name": "X-API-Auth-Token",
        "in": "header"
      }
    },
    "responses": {
      "Error401": {
        "description": "Unauthorized - Authentication errors or failures",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponseTemplate"
                },
                {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Error401"
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Error403": {
        "description": "Forbidden - Authorization failures",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponseTemplate"
                },
                {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Error403"
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Error4XX": {
        "description": "Other 400 level errors",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponseTemplate"
                },
                {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Error4XX"
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "Error5XX": {
        "description": "Server Error - Server-side issues",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponseTemplate"
                },
                {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Error5XX"
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "WorkflowPricingGetErrorResponse": {
        "description": "Bad Request - Client request errors",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponseTemplate"
                },
                {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "BAD_REQUEST",
                              "ENTITY_NOT_FOUND",
                              "SYSTEM_RULE_VIOLATION",
                              "ACCOUNT_CONFIGURATION_VIOLATION"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "schemas": {
      "MetaSuccessResponse": {
        "type": "object",
        "description": "Standard metadata included in all API responses",
        "required": [
          "status",
          "trace_id",
          "version"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "SUCCESS"
            ],
            "description": "Status of the operation"
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID for debugging"
          },
          "version": {
            "type": "string",
            "description": "API version in YYYY-MM-DD format",
            "example": "2025-03-24"
          }
        }
      },
      "MetaErrorResponse": {
        "type": "object",
        "description": "Standard metadata included in all API responses",
        "required": [
          "status",
          "trace_id",
          "version"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "ERROR"
            ],
            "description": "Status of the operation"
          },
          "trace_id": {
            "type": "string",
            "description": "Trace ID for debugging"
          },
          "version": {
            "type": "string",
            "description": "API version in YYYY-MM-DD format",
            "example": "2025-03-24"
          }
        }
      },
      "ErrorResponseTemplate": {
        "type": "object",
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/MetaErrorResponse"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorItem"
            }
          }
        }
      },
      "ErrorItem": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code"
          },
          "sub_code": {
            "type": "string",
            "nullable": true,
            "description": "Error sub-code providing additional context (e.g., WORKFLOW_ENDED)"
          },
          "entity_type": {
            "type": "string",
            "nullable": true,
            "description": "The type of entity related to the error (e.g., Business, RequiredDocument)"
          },
          "message": {
            "type": "string",
            "description": "Error message"
          },
          "details": {
            "type": "array",
            "description": "Array of validation error details (only present for BAD_REQUEST validation errors)",
            "items": {
              "$ref": "#/components/schemas/ValidationDetail"
            }
          }
        }
      },
      "ValidationDetail": {
        "type": "object",
        "required": [
          "path",
          "message"
        ],
        "description": "Detailed validation error information for a specific field",
        "properties": {
          "path": {
            "type": "string",
            "description": "The field path that failed validation (e.g., \"subject_record_id\", \"required_documents[0].document_type_code\")",
            "example": "subject_record_id"
          },
          "message": {
            "type": "string",
            "description": "Specific validation error message for this field",
            "example": "subject_record_id is required."
          }
        }
      },
      "Error401": {
        "type": "object",
        "description": "Standard error structure",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code",
            "enum": [
              "AUTH_INVALID_HEADER",
              "AUTH_INVALID_API_KEY",
              "AUTH_INVALID_AUTH_TOKEN",
              "AUTH_SIGNATURE_MISMATCH",
              "AUTH_MISSING_HEADER"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "Error403": {
        "type": "object",
        "description": "Standard error structure",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code",
            "enum": [
              "UNAUTHORIZED"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "Error4XX": {
        "type": "object",
        "description": "Standard error structure",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code",
            "enum": [
              "INVALID_ENDPOINT_REQUEST",
              "PAYLOAD_TOO_LARGE",
              "THROTTLED",
              "UNKNOWN_VERSION",
              "UNSUPPORTED_MEDIA_TYPE"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "Error5XX": {
        "type": "object",
        "description": "Standard error structure",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code",
            "enum": [
              "GATEWAY_TIMEOUT",
              "INTERNAL_SERVER_ERROR",
              "SERVICE_UNAVAILABLE"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "Currencies": {
        "type": "string",
        "enum": [
          "USD"
        ],
        "description": "Currencies corresponds to the list of currencies as found in the ISO 4217 list using alpha-3 currency codes.",
        "example": "USD"
      },
      "PricingTypes": {
        "type": "string",
        "enum": [
          "INTERCHANGE"
        ],
        "description": "Pricing Types indicates the pricing type used when the method `workflow.pricing.calculate` is executed.\n\nAvailable Types:\n- `INTERCHANGE` - Interchange pricing calculated and managed by Kompliant\n- `<others>` - As defined in the account setup process\n"
      },
      "PricingItemTypes": {
        "type": "string",
        "enum": [
          "FIXED_AMOUNT",
          "PERCENTAGE",
          "PER_UNIT",
          "CUSTOM_TEXT"
        ],
        "description": "Pricing Item Type represents the value type of the pricing item.\n\nAvailable Types:\n- `FIXED_AMOUNT` - Pricing item of type FIXED_AMOUNT\n- `PERCENTAGE` - Pricing item of type PERCENTAGE\n- `PER_UNIT` - Pricing item of type PER_UNIT\n- `CUSTOM_TEXT` - Pricing item of type CUSTOM_TEXT\n"
      },
      "PricingItemCodes": {
        "type": "string",
        "enum": [
          "per_transaction_rate",
          "blended_rate",
          "amex_rate",
          "international_surcharge_rate",
          "credit_card_rate",
          "debit_card_rate",
          "international_rate",
          "ach_per_transaction_rate",
          "ach_disbursement_fee",
          "ach_return_fee",
          "chargeback_fee",
          "maintenance_fee",
          "no_payment_maintenance_fee",
          "per_transaction_fee",
          "application_fee",
          "monthly_subscription_fee",
          "annual_subscription_fee",
          "internal_cost_per_transaction_fee",
          "rate_cost",
          "credit_card_per_transaction_fee",
          "debit_card_per_transaction_fee",
          "amex_per_transaction_fee",
          "ach_per_transaction_fee",
          "international_per_transaction_fee",
          "payouts_per_transaction_fee",
          "custom_pricing"
        ],
        "description": "Pricing Item Codes represents the code of the pricing item.\n\nAvailable Codes:\n- `per_transaction_rate` - Per transaction rate\n- `blended_rate` - Blended rate for all card types\n- `amex_rate` - American Express rate\n- `international_surcharge_rate` - International transaction surcharge rate\n- `credit_card_rate` - Credit card transaction rate\n- `debit_card_rate` - Debit card transaction rate\n- `international_rate` - International transaction rate\n- `ach_per_transaction_rate` - ACH per transaction fee\n- `ach_disbursement_fee` - ACH disbursement fee\n- `ach_return_fee` - Fee for ACH returns\n- `chargeback_fee` - Fee for processing chargebacks\n- `maintenance_fee` - Monthly maintenance fee\n- `no_payment_maintenance_fee` - Maintenance fee when no payments processed\n- `per_transaction_fee` - Per transaction flat fee\n- `application_fee` - Application fee\n- `monthly_subscription_fee` - Monthly subscription fee\n- `annual_subscription_fee` - Annual subscription fee\n- `internal_cost_per_transaction_fee` - Internal cost per transaction\n- `rate_cost` - Rate cost (priced per unit/BPS)\n- `credit_card_per_transaction_fee` - Credit card per transaction fee\n- `debit_card_per_transaction_fee` - Debit card per transaction fee\n- `amex_per_transaction_fee` - American Express per transaction fee\n- `ach_per_transaction_fee` - ACH per transaction fee\n- `international_per_transaction_fee` - International per transaction fee\n- `payouts_per_transaction_fee` - Payouts per transaction fee\n- `custom_pricing` - Custom pricing arrangement\n"
      },
      "WorkflowPricingGetRequest": {
        "type": "object",
        "required": [
          "workflow_id"
        ],
        "description": "Request to get pricing details for a workflow",
        "properties": {
          "workflow_id": {
            "type": "string",
            "format": "string",
            "description": "ID of the workflow to get pricing for"
          }
        }
      },
      "WorkflowPricingGetResponse": {
        "type": "object",
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/MetaSuccessResponse"
          },
          "data": {
            "type": "object",
            "properties": {
              "pricing": {
                "type": "object",
                "required": [
                  "items"
                ],
                "properties": {
                  "type": {
                    "$ref": "#/components/schemas/PricingTypes",
                    "description": "Type of the pricing. One of PRICING_TYPES."
                  },
                  "items": {
                    "type": "array",
                    "description": "Array of individual pricing components and rates.\n",
                    "items": {
                      "type": "object",
                      "required": [
                        "item_code",
                        "value_type",
                        "details"
                      ],
                      "properties": {
                        "item_code": {
                          "$ref": "#/components/schemas/PricingItemCodes",
                          "description": "Name of the pricing component. One of PRICING_ITEM_CODES."
                        },
                        "value_type": {
                          "$ref": "#/components/schemas/PricingItemTypes",
                          "description": "Pricing item type. One of PRICING_ITEM_TYPES."
                        },
                        "details": {
                          "type": "object",
                          "description": "Details of the related item_code",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "The pricing value or configuration value.\nFor percentage types, this represents the actual percentage (e.g., 2.9 = 2.9%).\nFor flat fee types, this represents the monetary amount (e.g., 0.3 = $0.30).\n"
                            },
                            "currency": {
                              "$ref": "#/components/schemas/Currencies",
                              "description": "Currency code for flat fee pricing items. Currently only USD is supported."
                            },
                            "unit": {
                              "type": "string",
                              "description": "Unit for PER_UNIT pricing items (e.g., BPS)"
                            },
                            "locales": {
                              "type": "array",
                              "description": "Contains the custom text locales when available",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "locale": {
                                    "type": "string",
                                    "description": "The language of the text locale"
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value of the text locale"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "example": {
          "meta": {
            "status": "SUCCESS",
            "trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
            "version": "2025-03-24"
          },
          "data": {
            "pricing": {
              "items": [
                {
                  "item_code": "per_transaction_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "blended_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "amex_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "international_surcharge_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "credit_card_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "debit_card_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "international_rate",
                  "value_type": "PERCENTAGE",
                  "details": {
                    "value": 9.9
                  }
                },
                {
                  "item_code": "ach_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "ach_return_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "chargeback_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "maintenance_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "no_payment_maintenance_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "application_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "monthly_subscription_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "annual_subscription_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "internal_cost_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "credit_card_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "debit_card_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "amex_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "international_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "payouts_per_transaction_fee",
                  "value_type": "FIXED_AMOUNT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD"
                  }
                },
                {
                  "item_code": "rate_cost",
                  "value_type": "PER_UNIT",
                  "details": {
                    "value": 49.99,
                    "currency": "USD",
                    "unit": "BPS"
                  }
                },
                {
                  "item_code": "custom_pricing",
                  "value_type": "CUSTOM_TEXT",
                  "details": {
                    "locales": [
                      {
                        "locale": "en_US",
                        "value": "Your application qualifies for custom pricing. Our sales team will reach you shortly."
                      }
                    ]
                  }
                }
              ]
            }
          }
        }
      }
    }
  },
  "paths": {
    "/workflow.pricing.get": {
      "post": {
        "summary": "Get Workflow Pricing",
        "description": "Retrieve detailed pricing information for a workflow including fees, rates, and pricing model details.\n",
        "operationId": "workflowPricingGet",
        "tags": [
          "Workflow"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowPricingGetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowPricingGetResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/WorkflowPricingGetErrorResponse"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "4XX": {
            "$ref": "#/components/responses/Error4XX"
          },
          "5XX": {
            "$ref": "#/components/responses/Error5XX"
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 176,
      "2": 56,
      "3": 25,
      "4": 98,
      "5": 188,
      "6": 204,
      "7": 45,
      "8": 222,
      "9": 108,
      "10": 103,
      "11": 82
    }
  }
}
```