Quickstart Guide

Get up and running with ClawPay in under 5 minutes.

Prerequisites

Step 1: Install the SDK

Choose your preferred language:

# TypeScript/Node.js
npm install @clawpay/sdk

# Python
pip install clawpay

# Go
go get github.com/ClawPay-app/go-sdk

Step 2: Initialize the Client

Step 3: Create a Vault

Vaults are the core treasury accounts that hold your assets.

Step 4: Define Authorization Rules

Set spending controls programmatically:

Step 5: Issue a Virtual Card

Generate a debit card linked to your vault:

Step 6: Monitor Transactions

Set up webhooks to receive real-time notifications:

Next Steps

Example: Complete Integration

Here's a complete example that creates a vault, sets rules, and issues a card:

Sandbox Testing

Use sandbox mode to test integrations without real funds:

Sandbox test cards:

  • 4242 4242 4242 4242 - Successful transactions

  • 4000 0000 0000 0002 - Declined (insufficient funds)

  • 4000 0000 0000 0069 - Declined (expired card)

Support

Questions? Reach out:

Last updated