Getting Started with Marqeta API

Learn to create a Marqeta sandbox account to call the Marqeta API.

Let’s look at the steps needed to use Marqeta’s Core API.

Create an account

Step 1: Head over to Marqeta’s Registration Page to create an account. Fill in the account creation form and click the “CREATE ACCOUNT” button.

Step 2: An account verification email will be sent to the registered email address you used to register your account. Click the verification button provided in the email.

Step 3: Click the “RETURN TO SIGN IN” button to redirect to the sign-in page.

Step 4: Sign in using your registered email and password.

Note: When you sign in, you might have to enter your phone number to verify your identity as part of the 2-step verification process.

Create a sandbox

After you’ve created your account and signed in, it’s time to make a sandbox to simulate transactions on the Marqeta platform.

Step 1: Click the “Create sandbox” button. You’ll see a message on your screen that says that your sandbox will be created shortly. Please wait patiently because the sandbox may take a few minutes to be ready.

Step 2: You’ll be redirected to the dashboard as soon as your sandbox is ready. You’ll also receive an email containing a button redirecting you to the dashboard.

On the dashboard, you’ll find your API keys. These will include the following items:

  • The application token identifies the API client.
  • The admin access token allows access to the sandbox.
  • We append the endpoint to the base URL when we make API requests.

Copy the “Application token,” “Admin access token,” and the “Base URL.” Then click the “Edit” button in the code widget below. Enter the three values in their respective fields and click the “Save” button.

Set up the API keys

Click the “Run” button in the code widget below to validate the API keys.

Press + to interact
verifyApiKeys();

After you’ve created your account (along with a sandbox) and set up your API keys, you’re ready to make your first call to Marqeta’s Core API.