Skip to main content
Before integrating with any Moment API, you need two things: an API key and a webhook endpoint. This page covers both, then points you to a product-specific quickstart.

Step 1: Get your API key

All requests are authenticated using a Bearer token. Use your secret key for server-side calls and your public key for client-side operations.
Authorization: Bearer sk_test_YOUR_SECRET_KEY
Moment provides separate key pairs for test and live modes. Use test keys during development — no real funds move. See Authentication for full details on key types and security practices.

Step 2: Register a webhook endpoint

Moment uses webhooks to notify your server when events occur, such as a payment completing or a bill being paid. You need a registered endpoint before you can receive these events. Contact the support team to register your endpoint URL and receive your signing key. Use ngrok or a similar tunnel during local development. See Webhook Setup for request headers, retry behaviour, and event structure.

Step 3: Pick your integration

Collect

Accept one-time and recurring payments using Payment Sessions.

Billing

Manage customer balances, accounts, and bills to collect payments.