How to determine cash on delivery payment method via webhooks?

i am developing a website for shipping so i created oreder/create webhook in my system so

How to know if the payment method selected is cash on delivery so i collect payments from customer ?

Hello,

Inside the order key, there is a key called processing_method which specifies the payment mode. In your case, you should look for the value manual. e.g,

processing_method: "manual"

Regards,
Mritunjay
ReturnPrime

1 Like