title: How to change the status from 'Pending Payment' to 'Processing' using REST API in Magento 2
body: <p>We are using REST API interface of Magento 2.3.4 to process orders. Followed 7 steps given in the following link and also added code to capture the payment.</p>
  
  <p><a href="https://devdocs.magento.com/guides/v2.3/rest/tutorials/orders/order-create-order.html" rel="nofollow noreferrer">Creating Order in Magento 2</a></p>
  
  <p>As soon as the payment is captured the status doesn't change from <strong>Pending Payment</strong> to <strong>Processing</strong>. However, if we click on <strong>Get Payment Update</strong> option from Admin panel for the order, status changes to <strong>Processing</strong>. Any idea which REST API needs to be called to change the status to 'Processing'?</p>