Get started
Getting Started
Set up your account and make your first API call in under 5 minutes.
Overview
PaymentHooks is a payment orchestration platform that sits between your application and multiple payment gateways. This guide walks you through account setup, API key retrieval, SDK installation, and making your first payment.
5 minutes
Typical integration time
Test mode
Free sandbox environment
37+ gateways
Connect any provider
Create an account
Sign up at paymenthooks.com/signup. You will be asked for your business name, email, and a password. After verifying your email, you will land in your merchant dashboard.
Get your API keys
Navigate to Settings → API Keys in your merchant dashboard. You will see two keys:
pk_test_...Publishable key
Safe for client-side use
sk_test_...Secret key
Server-side only, keep private
Install the SDK
# npmnpm install @paymenthooks/sdk# yarnyarn add @paymenthooks/sdk# pnpmpnpm add @paymenthooks/sdk
Make your first payment
curl -X POST https://paymenthooks.com/api/v1/payments \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{"amount": 2000, "customerId": "cus_abc123", "currency": "usd"}'Go live
When you are ready to accept real payments, switch your environment toggle from Test to Live in the dashboard header. Replace your test API keys with live keys, configure your production gateway credentials, and you are set.