# Channel ID for Send Message Endpoint

## post by FirmOS_Team on Mar 14, 2025
In retrieve channel endpoint, the required parameter is either the company id or client id, is this correct? What i want to know, from the response in this endpoint, what should I use in my next api call that sends message to client channel? Is it the membershipEntityId? If not, from what api endpoint can i obtain the channelId for sending messages?

## post by FirmOS_Team on Mar 14, 2025
I’ve got this all sorted out.

## post by allene on Mar 14, 2025
Glad to hear you got it sorted! Please reply here if you still need help with anything else!

## post by FirmOS_Team on Mar 14, 2025
I do have some questions, is there a feature (webhook, maybe?) that detects if client was not able to pay the invoice during their due date?

## post by allene on Mar 14, 2025
We don’t have this feature/webhook, but we’re working on a reminder emails feature! We do have an invoice paid webhook, this could potentially be used in an automation in combination with a scheduling module/step.

I’ll submit this as a feature request to our team!

## post by FirmOS_Team on Mar 14, 2025
Already using the invoice paid webhook. We also want to know if client payment did not go through so we can inform them. Thanks!

## post by allene on Mar 14, 2025
Thanks! We do have a `payment.failed` webhook coming very soon, so hopefully this will help!

## post by marlon on Apr 5, 2025
The `payment.failed` webhook is now available!
