Payment Types

View payment types

GET
/payment_types

This endpoint returns the payment types configured in the integrated system for the specified location

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

subdomain*string

Used to scope the request to the specified institution

location_id*integer

Used to scope the request to the specified location

Formatint32
updated_since?string

Payment types updated after the specified time (UTC)

Formatdate-time
active?boolean

true returns only active records, false only inactive. Defaults to true

Defaulttrue
start_cursor?string

First item of the current page. Starts empty

end_cursor?string

Last item of the current page. Starts empty

per_page?integer

Number of results to return per page. Maximum allowed amount is 1000.

Formatint32
Default5

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/payment_types?subdomain=string&location_id=0&updated_since=2024-04-12T10%3A30%3A00Z&active=true" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 113,      "name": "Cash",      "active": true,      "updated_at": "2020-06-05T20:16:57.007Z"    }  ],  "page_info": {    "has_previous_page": false,    "has_next_page": false,    "start_cursor": "AAAAA",    "end_cursor": "BBBBBB"  }}