End a care chat
Close a chat the cardholder has finished with or navigated away from. The
conversation stops accepting messages; sending one afterwards is refused
with CARE_CHAT_ENDED, and the cardholder starts a new chat by sending
another message.
No session token is required, even on a verified chat. Ending a chat touches no account data, and requiring a live session would mean a partner whose cardholder walked away could not close the chat without texting them another code first. The chat only has to belong to the calling platform.
Closing a chat that is already closed is not an error: that is the state the caller asked for.
Requires a token with the VIEW permission.