Payments

Create payment

POST
/payments

This endpoint enqueues a write-back that records the payment in the EHR and returns 202 Accepted with no body.

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

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Request Body

application/json

Create payment

payment*

Payment details

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/payments?subdomain=string&location_id=0" \  -H "Nex-Api-Version: v3.0.0" \  -H "Content-Type: application/json" \  -d '{    "payment": {      "patient_id": 1,      "amount": -138,      "transaction_id": "API:123456"    }  }'
Empty