The two endpoints here are what will allow you to leave the actual credit card, Google Pay, or Apple Pay processing in the hands of Stripe, and use Bbot to process your order on the back end.

You can see Stripe's full process in their documentation - all server-side tasks will be handled by Bbot - through the SetupIntent which you will generate and receive via the get-setup-intent endpoint.

For Credit Cards

Using a Setup Intent client secret, created using the Create a Stripe Setup Intent endpoint, the #4 step - Collect Card Details, will use Stripe.js on the front end to mount the Stripe component on the page, take payment information, and return a Payment Method which can then be sent to Bbot using the Save a new Stripe Payment Method.

For Apple Pay and Google Pay

Using a Setup Intent client secret, created using the Create a Stripe Setup Intent endpoint, the Payment Request Button steps 1-3 will allow you to easily mount a button to handle Google or Apple payments, depending on the user's device. Again, just return a Stripe Payment Method to the endpoint and the back-end will handle the rest.

Stripe Publishable Keys

Stripe keys you will need to build custom payment forms

Staging environment: pk_test_E5QXXqy4bXeLHN8MClqOv0HD
Production environment: pk_live_Xxu1ndWnrhYlPUqTx83MJEeo