curl --request POST \
--url https://api.decodahealth.com/billing/payment/send-receipt \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
{
"paymentId": "<string>",
"useEmail": true,
"email": "<string>",
"isAutomatic": false
}
'{
"id": "<string>",
"chatId": "<string>",
"status": "CREATED",
"sender": {
"id": "<string>",
"type": "PROVIDER",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>"
},
"createdDate": "2023-11-07T05:31:56Z",
"messageUid": "<string>",
"content": "<string>",
"errorMessage": "<string>",
"sendoMessageId": "<string>",
"functionCall": {},
"files": [],
"suggestedMessages": [
{
"id": "<string>",
"chatId": "<string>",
"fromMessageId": "<string>",
"content": "<string>",
"assistantId": "<string>",
"isSelected": true,
"createdDate": "2023-11-07T05:31:56Z"
}
],
"toolCalls": [
{
"id": "<string>",
"toolName": "<string>",
"toolArguments": {},
"createdDate": "2023-11-07T05:31:56Z",
"callId": "<string>",
"messageId": "<string>",
"alertId": "<string>",
"toolCallId": "<string>",
"result": {},
"toolCallDescription": "<string>",
"hasBeenCalled": false
}
],
"eventId": "<string>",
"type": "REMINDER"
}curl --request POST \
--url https://api.decodahealth.com/billing/payment/send-receipt \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
{
"paymentId": "<string>",
"useEmail": true,
"email": "<string>",
"isAutomatic": false
}
'{
"id": "<string>",
"chatId": "<string>",
"status": "CREATED",
"sender": {
"id": "<string>",
"type": "PROVIDER",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>"
},
"createdDate": "2023-11-07T05:31:56Z",
"messageUid": "<string>",
"content": "<string>",
"errorMessage": "<string>",
"sendoMessageId": "<string>",
"functionCall": {},
"files": [],
"suggestedMessages": [
{
"id": "<string>",
"chatId": "<string>",
"fromMessageId": "<string>",
"content": "<string>",
"assistantId": "<string>",
"isSelected": true,
"createdDate": "2023-11-07T05:31:56Z"
}
],
"toolCalls": [
{
"id": "<string>",
"toolName": "<string>",
"toolArguments": {},
"createdDate": "2023-11-07T05:31:56Z",
"callId": "<string>",
"messageId": "<string>",
"alertId": "<string>",
"toolCallId": "<string>",
"result": {},
"toolCallDescription": "<string>",
"hasBeenCalled": false
}
],
"eventId": "<string>",
"type": "REMINDER"
}The tenant you are making this request on behalf of
Your api key
Successful Response
CREATED, QUEUED, SCHEDULED, SENDING, SENT, UNDELIVERED, DELIVERED, READ, FAILED, EXPIRED, OPTED_OUT 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.
Show child attributes
Show child attributes
REMINDER, OVERRIDE, FOLLOW_UP, EXPIRED, CONFIRMATION, INTRODUCTORY, CANCELLED, UPDATE