curl --request GET \
--url https://api.decodahealth.com/user/patient/{patient_id}/credit \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"data": [
{
"id": "<string>",
"patientId": "<string>",
"amount": 123,
"amountRemaining": 123,
"createdDate": "2023-11-07T05:31:56Z",
"comment": "<string>",
"expiryDate": "2023-11-07T05:31:56Z",
"memberId": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"creator": {
"id": "<string>",
"type": "PROVIDER",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>"
}
}
],
"total": 123
}Get all credits for a patient with pagination
curl --request GET \
--url https://api.decodahealth.com/user/patient/{patient_id}/credit \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"data": [
{
"id": "<string>",
"patientId": "<string>",
"amount": 123,
"amountRemaining": 123,
"createdDate": "2023-11-07T05:31:56Z",
"comment": "<string>",
"expiryDate": "2023-11-07T05:31:56Z",
"memberId": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"creator": {
"id": "<string>",
"type": "PROVIDER",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>"
}
}
],
"total": 123
}The tenant you are making this request on behalf of
Your api key
x >= 11 <= x <= 100Include expired credits in results
Include fully used credits in results
Successful Response
Show child attributes
Show child attributes
The unique identifier for the user.
The type of user.
PROVIDER, PATIENT, ASSISTANT The user's first name.
The user's last name.
The user's phone number.
The user's email address.
The location of the user.