Skip to main content

Overview

Use this Quickstart to grab credentials and make your first API call to Forebit.

1) Get credentials

  • Payments → Settings → Developer: copy your Business ID and API Key
  • Developer → Webhooks: copy the webhook signing secret (for server-side verification)

2) Create your first payment

curl -X POST https://prod-payments-api.forebit.io/v1/businesses/{businessId}/payments \
  -H "Authorization: Bearer YOUR_PAYMENTS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "currency": "USD",
    "amount": 10.00
  }'
The response contains id (UUID) and url (hosted checkout page). Redirect the customer to url.
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "url": "https://pay.forebit.io/payment/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  "message": null,
  "errors": null
}

Next steps

Integration Guide

Webhooks

Payments API

Guide for AI Agents

Paste into Claude, Cursor, or Codex to build your integration faster