title: WooCommerce custom payment method
body: <p>I have to add a custom payment method to woocommerce.
  this payment method has well documented JSON APIs.
  how do I add a custom payment method, and hook it to the API?</p>