action drchrono_patient_payments_list { label: "patient_payments_list" description: "Retrieve or search patient payments" provider: drchrono method: GET path: "/api/patient_payments" encoding: json input: { type: "object" properties: { cursor: { type: "string" description: "The pagination cursor value." } doctor: { type: "integer" } page_size: { type: "integer" description: "Number of results to return per page." } patient: { type: "integer" } since: { type: "string" } } additionalProperties: false } output: { type: "object" description: "Paginated Result" properties: { data: { type: "array" description: "result data" items: { type: "object" required: ["patient"] properties: { amount: { type: "number" description: "Amount of cash for this payment, cannot be zero" } appointment: { type: "integer" description: "If this is absent, the apponitment will be inferred from line item" } created_at: { type: "string" } created_by: { type: "string" } doctor: { type: "integer" } id: { type: "integer" } line_item: { type: "integer" } notes: { type: "string" } patient: { type: "integer" } payment_method: { type: "string" description: "`\"CASH\", \"CHCK\" for Check, \"DBIT\" for Debit, \"CRDT\" for Credit Card, \"AMEX\" for American Express, \"VISA\", \"MSTR\" for Mastercard, \"DISC\" for Discover, \"SQR1\" for Square (legacy), \"SQRE\" for Square, \"PTPA\" for Patient Payments, \"ONPT\" for onpatient, \"OTHR\" for Other`" enum: ["CASH", "CHCK", "DBIT", "CRDT", "AMEX", "VISA", "MSTR", "DISC", "SQR1", "SQRE", "PTPA", "ONPT", "OTHR"] } payment_transaction_type: { type: "string" description: "`\"\" for Credit, \"REF\" for Refund, \"COR\" for Correction, \"COPAY\" for Copay, \"COINSR\" for Coinsurance, \"OTHR\" for Other`" enum: ["", "REF", "COR", "COPAY", "COINSR", "OTHR"] } posted_date: { type: "string" } received_date: { type: "string" } trace_number: { type: "string" } updated_at: { type: "string" } } } } next: { type: "string" description: "Next Paginated page" } previous: { type: "string" description: "Previous paginated page" } } } }