---
title: "Comment by Oluwaseun Raphael Afolayan on \"Building with WooCommerce Rest APIs\" | Hashnode"
description: "Great piece as usual Adejoke. How would you suggest handling payments when using woocommerce headless?"
url: "https://hashnode.com/posts/building-with-woocommerce-rest-apis/65dc7c174033e76f5b83272d/comment/65dc84c788dedf4236433a5f"
---

[Discussion](https://hashnode.com/posts/building-with-woocommerce-rest-apis/65dc7c174033e76f5b83272d)

Comment [Building with WooCommerce Rest APIs](https://hashnode.com/posts/building-with-woocommerce-rest-apis/65dc7c174033e76f5b83272d)

[Oluwaseun Raphael Afolayan](https://hashnode.com/@theafolayan)

[Feb 26, 2024](https://hashnode.com/posts/building-with-woocommerce-rest-apis/65dc7c174033e76f5b83272d/comment/65dc84c788dedf4236433a5f)

Great piece as usual Adejoke. How would you suggest handling payments when using woocommerce headless?

[Adejoke Haastrup](https://hashnode.com/@jastrupgeeky)

[Feb 26, 2024](https://hashnode.com/posts/building-with-woocommerce-rest-apis/65dc7c174033e76f5b83272d/comment/65dc84c788dedf4236433a5f#reply-65dc866f3ecb99bba3f0a662)

Hi [Oluwaseun Raphael Afolayan](https://hashnode.com/@theafolayan). Handling payments using the APIs will work following the same approach.

Do the OAuth flow, then focus on the WooCommerce Payment API You can check the docs on this [woocommerce.github.io/woocommerce-rest-api-docs](https://woocommerce.github.io/woocommerce-rest-api-docs/?javascript#payment-gateways)
