Cookbooks and recipes home
This page contains recipes that are designed to help you use and integrate Payabli. Recipes are short tutorials that cover a workflow. We’ve organized these by Payabli product area.
Browse by product
Recipes for accepting payments, refunds, invoices, and payment links.
Recipes for ACH, vCard, check, ghost card, and managed payouts.
Recipes for webhooks, notifications, reporting, and back-office operations.
General recipes
Recipe: Authentication guide
/// Step 1: Get your API tokenNavigate to PartnerHub > Developers > API Tokens and create a new organization token. Your API tokens carry privileges, so keep them secure!
Your token will look something like this:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
/// Step 2: Add token to request headers
Send the API token in the request header with the key requestToken. All API requests must be made over HTTPS.
/// Step 3: Add idempotency key (recommended)
Include a unique idempotencyKey header to prevent duplicate transactions. This key persists for 2 minutes.
Learn more about authentication, API tokens, and idempotency in API overview.