Payment Plans

View payment plan

GET
/payment_plans/{id}

This endpoint returns a single payment plan by its NexHealth ID, with optional sideloading of the associated patient and guarantor.

Authorization

Authorization
Authorization<token>

In: header

Path Parameters

id*integer

NexHealth ID of the payment plan

Formatint64

Query Parameters

include[]?array<>

Resources to be included in the response

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Response Body

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

curl -X GET "https://example.com/payment_plans/0" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": {    "id": 113,    "patient_id": 115,    "guarantor_id": 115,    "first_payment_due_date": "2020-06-05",    "created_date": "2020-06-05",    "active": true,    "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": ""      },      "inactive": false,      "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      ]    },    "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": ""      },      "inactive": false,      "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      ]    }  },  "count": 2}