Create Payment
tebra_create_paymentCreates a patient payment in Tebra using cash, check, credit card, EFT, or other methods. Optionally links to an appointment and includes referenceNumber to detect duplicates after failures.
Instructions
Create a new patient payment in Tebra. Supports Cash, Check, CreditCard, ElectronicFundsTransfer, and Other payment methods. Optionally link to an appointment and practice. Not retried after a timeout or server error (Tebra has no idempotency key, so a re-send can double-charge); if the call fails with an unknown outcome, check tebra_get_payments before resubmitting. Supply referenceNumber so any duplicate is detectable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in dollars (e.g. 150.00) | |
| patientId | Yes | Tebra patient ID | |
| payerType | No | Optional payer type (defaults to 'Patient') | |
| batchNumber | No | Optional batch number | |
| paymentDate | No | Optional payment post date (ISO 8601, defaults to today server-side) | |
| practiceName | No | Optional practice name (recommended for multi-practice accounts) | |
| appointmentId | No | Optional appointment ID to link payment to | |
| paymentMethod | Yes | Payment method: Cash, Check, CreditCard, ElectronicFundsTransfer, or Other | |
| referenceNumber | No | Optional reference or check number |