Support » Plugin: WooCommerce » Checkout page Rest API

  • Resolved ketan



    I want to do a display checkout form inside my react native mobile application by using Rest API. I have reviewed the WooCommerce rest API documentation file but inside that not see proper solution for this.

    So can you please help me, how to call WooCommerce rest API for the checkout page.

    Thank you,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Con Schneider


    Automattic Happiness Engineer

    Hi Ketan,

    You cannot call template files via REST API. You can only query database values.
    Furthermore WooCommerce does not process any payments. It uses plugins to communicate with third party payment gateways. You need to code your own React Native component for the checkout that manages the API calls to to the payment gateway.

    Kind regards,



    Hello @conschneider,

    Is any API available for the WooCommerce checkout page Billing and Shipping address form + cart content display? We only want to display those details by using API. Payment gateway process we can display in web view. So for the payment gateway, we do not require any API.

    Best regards

    Plugin Support Luminus


    Automattic Happiness Engineer

    Hi @ketantecocraft,

    As Con mentioned, the forms on the checkout page are templates and you can not call templates from an API, you can only query database values or update those values.

    You need to build your own components to display a checkout form with bulling and shipping addresses in your application and then manage the API calls to the payment gateway.

    The relevant API documentation for payment gateways can be found here –

    I’ll go ahead and mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.