# Create payment

> Perform Create payment through NikoHealth.

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

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

- Handler: `recorded_api_369009c20c168a0c_7d11fa14b3905d5dc302e33489e56308`

- 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_7d11fa14b3905d5dc302e33489e56308"
}

```

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

## Inputs

- `notes` — Notes (textarea)
  Optional text value.
- `amount` — Amount (number, required)
  Required numeric value.
- `method` — Method (select, required)
  Required selected identifier or value.
  Options: Other ("Other"), Cash ("Cash"), Check ("Check"), EFT ("Eft"), Credit Card ("CreditCard")
- `reference` — Reference (text)
  Optional text value.
- `patient_id` — Patient Id (text, required)
  Required text value.
- `remittance_date` — Remittance Date (date, required)
  Required date in YYYY-MM-DD format.
- `billing_provider_id` — Billing Provider Id (remote_search_select, required, dynamic options)
  Required value. Retrieve allowed values from the dynamic options endpoint.

## Outputs

- `Id`
- `Date`
- `Notes`
- `Total`
- `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": [
    "amount",
    "method",
    "patient_id",
    "remittance_date",
    "billing_provider_id"
  ],
  "properties": {
    "notes": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "amount": {
      "type": "number",
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    },
    "method": {
      "enum": [
        "Other",
        "Cash",
        "Check",
        "Eft",
        "CreditCard"
      ],
      "type": "string",
      "description": "Required selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "reference": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "remittance_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "billing_provider_id": {
      "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": {},
    "Method": {},
    "Source": {},
    "Status": {},
    "success": {},
    "Completed": {},
    "DisplayId": {},
    "Reference": {},
    "Unapplied": {},
    "retryable": {},
    "step_results": {},
    "PaymentAmount": {},
    "BillingProvider": {},
    "write_attempted": {}
  },
  "additionalProperties": true
}
```
