# Create payment

> Perform Create payment through NikoHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/nikohealth/recorded_api_369009c20c168a0c_e57770fb03d938689404d347cab58a38](https://genhealth.ai/docs/workflows/integrations/nikohealth/recorded_api_369009c20c168a0c_e57770fb03d938689404d347cab58a38)

Integration: [NikoHealth](https://genhealth.ai/docs/workflows/integrations/nikohealth.md)

- Handler: `recorded_api_369009c20c168a0c_e57770fb03d938689404d347cab58a38`

- Connection type: `nikohealth`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "NikoHealth",
  "params": {},
  "handler": "recorded_api_369009c20c168a0c_e57770fb03d938689404d347cab58a38"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `Date` (date, required)
  Required date in YYYY-MM-DD format.
- `Notes` (textarea, required)
  Required text value.
- `Amount` (number, required)
  Required numeric value.
- `Legacy` (boolean)
  Optional true-or-false value.
- `Method` (select, required)
  Required selected identifier or value.
  Options: Other ("Other"), Cash ("Cash"), Check ("Check"), EFT ("Eft"), Credit Card ("CreditCard")
- `Reference` (text, required)
  Required text value.
- `SourceType` — Sourcetype (select, required)
  Required selected identifier or value.
  Options: Patient ("Patient"), Payer ("Insurance")
- `InsuranceId` — Insuranceid (remote_search_select, required, dynamic options)
  Required value. Retrieve allowed values from the dynamic options endpoint.
- `MarkAsCompleted` — Markascompleted (boolean)
  Optional true-or-false value.
- `BillingProviderId` — Billingproviderid (remote_search_select, required, dynamic options)
  Required value. Retrieve allowed values from the dynamic options endpoint.

## Outputs

- `Id`
- `Date`
- `Notes`
- `Total`
- `Legacy`
- `Method`
- `Source`
- `Status`
- `Completed`
- `DisplayId` — Displayid
- `Reference`
- `Unapplied`
- `PaymentAmount` — Paymentamount
- `BillingProvider` — Billingprovider
- `success` — Success
- `error` — Error
- `retryable` — Retryable
- `write_attempted` — Write Attempted
- `step_results` — Step Results

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "Date",
    "Notes",
    "Amount",
    "Method",
    "Reference",
    "SourceType",
    "InsuranceId",
    "BillingProviderId"
  ],
  "properties": {
    "Date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "Notes": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "textarea"
    },
    "Amount": {
      "type": "number",
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    },
    "Legacy": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "Method": {
      "enum": [
        "Other",
        "Cash",
        "Check",
        "Eft",
        "CreditCard"
      ],
      "type": "string",
      "description": "Required selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "Reference": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "SourceType": {
      "enum": [
        "Patient",
        "Insurance"
      ],
      "type": "string",
      "description": "Required selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "InsuranceId": {
      "description": "Required value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "remote_search_select"
    },
    "MarkAsCompleted": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "BillingProviderId": {
      "description": "Required value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "remote_search_select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "Id": {},
    "Date": {},
    "Notes": {},
    "Total": {},
    "error": {},
    "Legacy": {},
    "Method": {},
    "Source": {},
    "Status": {},
    "success": {},
    "Completed": {},
    "DisplayId": {},
    "Reference": {},
    "Unapplied": {},
    "retryable": {},
    "step_results": {},
    "PaymentAmount": {},
    "BillingProvider": {},
    "write_attempted": {}
  },
  "additionalProperties": true
}
```
