how to use Webhooks producer for payment gateway

hello can anyone help me how to add webhooks producer? a sample body format perhaps? I’m trying to use webhooks to send request to a payment gateway because i always get unauthorized error even though i’ve tested it in postman. Thank you!
1 answers

Webhooks are used to receive not to send.

If you need to send a request to a payment gateway you will almost certainly need to use a Call REST action from a microflow to call the external provider. If you are getting authorization errors when using a Call REST action this is probably down to not sending the correct value in an authorization HTTP header. The payment provider should have this in their documentation, but without seeing this it’s hard to confirm.