# Receiving Payments

To receive a payment, you'll need to create an invoice of your own with an amount and description. ChannelManager contains the remaining information needed for the invoice. Use the provided utility to generate an invoice and register a pending payment in ChannelManager.

    While it is possible to create an invoice without using the utility, ChannelManager will reject any incoming HTLCs for unregistered payments to protect your privacy. In this case, use either create_inbound_payment or create_inbound_payment_for_hash to register a payment with ChannelManager before creating the invoice with the returned payment hash and/or secret.

    As with sending a payment, LDK will generate an event once a payment is received. It is your responsibility to handle the PaymentReceived event by using ChannelManager to release the preimage and claim the funds.

      Last Updated: 10/21/2021, 6:10:33 PM