curl --request GET \
--url https://api.decodahealth.com/billing/cash-balance/external-settlement-details \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"type": "<string>",
"payment": {
"id": "<string>",
"amount": 123,
"patientName": "<string>",
"creatorName": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"paymentMedium": "<string>",
"paymentMethodSummary": "<string>",
"chargeIds": [],
"comment": "<string>"
},
"tip": {
"id": "<string>",
"amount": 123,
"providerName": "<string>",
"patientName": "<string>",
"chargeId": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
}
]Get detailed transaction information for a specific external settlement type and date.
curl --request GET \
--url https://api.decodahealth.com/billing/cash-balance/external-settlement-details \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"type": "<string>",
"payment": {
"id": "<string>",
"amount": 123,
"patientName": "<string>",
"creatorName": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"paymentMedium": "<string>",
"paymentMethodSummary": "<string>",
"chargeIds": [],
"comment": "<string>"
},
"tip": {
"id": "<string>",
"amount": 123,
"providerName": "<string>",
"patientName": "<string>",
"chargeId": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
}
]The tenant you are making this request on behalf of
Your api key
The location ID to fetch settlement details for
The external settlement type to fetch details for
The date to fetch details for (YYYY-MM-DD format)
Successful Response
Type of settlement detail: 'payment' or 'tip'
Payment details if type is 'payment'
Show child attributes
Payment ID
Payment amount in cents
Name of the patient who made the payment
Name of the user who created the payment
When the payment was created
Payment medium (e.g., CARD, CASH)
Payment method summary (e.g., last4 digits)
List of charge IDs associated with this payment
Payment comment
Tip details if type is 'tip'
Show child attributes
Tip ID
Tip amount in cents
Name of the provider who received the tip
Name of the patient who gave the tip
Charge ID associated with this tip
When the tip was created