v1

latestOpenAPI 3.0.0NexHealth License 1.02026-07-2688180386.6 KB
Payments

View payment

This endpoint returns a single ledger payment

get/payments/{id}

Path parameters

idinteger required

Query parameters

subdomainstring required

Used to scope the request to the specified institution

include[]string[]

Resources to be included in the response

Headers

Nex-Api-Versionstring required

The NexHealth API version

Response

Successful

codeboolean

Indicates the success or failure of the request

descriptionstring

Additional context on the request to help with debugging.

errorstring[]

Any errors that occur during the execution of the request.

countinteger

Number of total objects, in case of collection.

Example response

{
  "description": "Description",
  "error": [
    "Error message"
  ],
  "data": {
    "id": 113,
    "foreign_id": "1234-5678",
    "location_id": 10,
    "patient_id": 3,
    "guarantor_id": 5,
    "provider_id": 15,
    "updated_at": "2024-09-05T20:31:17.007Z",
    "description": "This is a description",
    "deleted_at": "2024-09-15T11:21:26.003Z",
    "payment_amount": {
      "amount": "62.00",
      "currency": "USD"
    },
    "paid_at": "2024-10-01",
    "transaction_id": "NHP:JXZEQ1234",
    "charge_id": 1111,
    "claim_id": 2222,
    "payment_plan_id": 3,
    "insurance_plan_id": 4,
    "patient": {
      "id": 415,
      "email": "Amy.Ramos@nexhealth.com",
      "first_name": "John",
      "middle_name": "Anthony",
      "last_name": "Smith",
      "name": "John Smith",
      "created_at": "2020-06-05T20:16:57.007Z",
      "updated_at": "2020-06-05T20:16:57.007Z",
      "institution_id": 105,
      "foreign_id": "100437",
      "foreign_id_type": "--DataSource-",
      "bio": {
        "city": "New York",
        "state": "NY",
        "gender": "Female",
        "zip_code": "20814",
        "new_patient": false,
        "non_patient": true,
        "phone_number": "5163042196",
        "date_of_birth": "1964-05-03",
        "address_line_1": "",
        "address_line_2": "",
        "street_address": "",
        "cell_phone_number": "",
        "home_phone_number": "",
        "work_phone_number": ""
      },
      "last_sync_time": "2024-04-12T10:30:00Z",
      "guarantor_id": 472,
      "billing_type": "Standard Billing - finance charges",
      "chart_id": "017407",
      "preferred_language": "es",
      "preferred_locale": "es",
      "location_ids": [
        101,
        102,
        103
      ]
    },
    "provider": {
      "id": 415,
      "email": "Amy.Ramos@nexhealth.com",
      "first_name": "John",
      "middle_name": "Anthony",
      "last_name": "Smith",
      "name": "John Smith",
      "created_at": "2020-06-05T20:16:57.007Z",
      "updated_at": "2020-06-05T20:16:57.007Z",
      "institution_id": 105,
      "foreign_id": "100437",
      "foreign_id_type": "--DataSource-",
      "bio": {
        "city": "New York",
        "state": "NY",
        "gender": "Female",
        "zip_code": "20814",
        "new_patient": false,
        "non_patient": true,
        "phone_number": "5163042196",
        "date_of_birth": "1964-05-03",
        "address_line_1": "",
        "address_line_2": "",
        "street_address": "",
        "cell_phone_number": "",
        "home_phone_number": "",
        "work_phone_number": ""
      },
      "last_sync_time": "2024-04-12T10:30:00Z",
      "display_name": "John Smith",
      "npi": "1912507500",
      "tin": "078051120",
      "state_license": "R219935",
      "specialty_code": "363L00000X"
    },
    "guarantor": {
      "id": 415,
      "email": "Amy.Ramos@nexhealth.com",
      "first_name": "John",
      "middle_name": "Anthony",
      "last_name": "Smith",
      "name": "John Smith",
      "created_at": "2020-06-05T20:16:57.007Z",
      "updated_at": "2020-06-05T20:16:57.007Z",
      "institution_id": 105,
      "foreign_id": "100437",
      "foreign_id_type": "--DataSource-",
      "bio": {
        "city": "New York",
        "state": "NY",
        "gender": "Female",
        "zip_code": "20814",
        "new_patient": false,
        "non_patient": true,
        "phone_number": "5163042196",
        "date_of_birth": "1964-05-03",
        "address_line_1": "",
        "address_line_2": "",
        "street_address": "",
        "cell_phone_number": "",
        "home_phone_number": "",
        "work_phone_number": ""
      },
      "last_sync_time": "2024-04-12T10:30:00Z",
      "guarantor_id": 472,
      "billing_type": "Standard Billing - finance charges",
      "chart_id": "017407",
      "preferred_language": "es",
      "preferred_locale": "es",
      "location_ids": [
        101,
        102,
        103
      ]
    },
    "claim": {
      "id": 10,
      "location_id": 1,
      "patient_id": 1002,
      "provider_id": 101,
      "guarantor_id": 1001,
      "subscription_id": 10021,
      "status": "sent",
      "finalized_at": "2024-06-10T15:16:57.000Z",
      "sent_at": "2024-06-03T11:23:12.000Z",
      "note": "Claim was sent to the insurance company",
      "payment_estimate_total": {
        "amount": "62.00",
        "currency": "USD"
      },
      "write_off_estimate_total": {
        "amount": "62.00",
        "currency": "USD"
      },
      "write_off_total": {
        "amount": "62.00",
        "currency": "USD"
      },
      "deleted_at": "2024-09-15T11:21:26.003Z"
    },
    "charge": {
      "id": 113,
      "foreign_id": "1234-5678",
      "location_id": 10,
      "patient_id": 3,
      "guarantor_id": 5,
      "provider_id": 15,
      "updated_at": "2024-09-05T20:31:17.007Z",
      "description": "This is a description",
      "deleted_at": "2024-09-15T11:21:26.003Z",
      "fee": {
        "amount": "62.00",
        "currency": "USD"
      },
      "charged_at": "2024-10-05",
      "procedure_id": "NHP:JXZEQ1234",
      "claim_ids": [
        2222,
        3333
      ],
      "payment_estimate_total": {
        "amount": "62.00",
        "currency": "USD"
      },
      "write_off_estimate_total": {
        "amount": "62.00",
        "currency": "USD"
      },
      "write_off_total": {
        "amount": "62.00",
        "currency": "USD"
      }
    },
    "payment_plan": {
      "id": 113,
      "patient_id": 115,
      "guarantor_id": 115,
      "first_payment_due_date": "2020-06-05",
      "created_date": "2020-06-05"
    },
    "payment_type": {
      "id": 113,
      "name": "Cash",
      "active": true,
      "updated_at": "2020-06-05T20:16:57.007Z"
    },
    "payment_type_id": 5
  },
  "count": 2
}