Overview

By the end of this guide, your Browserbase agent will retrieve a virtual card from Stripe and make a donation to the Red Cross. You’ll learn how to:
  1. Generate a virtual credit card using the Stripe API with spending controls.
  2. Use Browserbase to make purchases with the virtual card.
This integration is useful for:
  • Creating a restricted credit card for your AI agent to use for online payments.
  • Retrieving card details from Stripe.
  • Automating the input of card details into a web form.

Prerequisites

Before you start, make sure you have: Next, let’s dive into creating a virtual card with the Stripe API.

Quickstart Guides