Skip to main content
This guide walks you through creating an account, generating API keys, and firing your first checkout session against the RabbitPay test environment.

Prerequisites

  • A RabbitPay merchant account — sign up here
  • A Shopify store (Basic plan or higher) if you want to test the full flow
  • curl, Node.js 18+, or Python 3.9+ for the code examples

1. Create API keys

In the RabbitPay Dashboard, navigate to Developers → API Keys and click Create key. You’ll see two keys:
Never expose your secret key in client-side code, git, or logs.

2. Create your first checkout session

Example response

3. Complete a test purchase

Open the checkout_url in a browser. Use the test OTP 123456 and the test card 4242 4242 4242 4242. When the session completes, RabbitPay fires a checkout.session.completed webhook — see Webhooks to receive it.

4. Go live

When you’re ready, swap sk_test_... for sk_live_... and point your webhook endpoint at production. That’s it.

Next: Install on Shopify

Ship 1-Click Checkout to your Shopify storefront in about 5 minutes.