Skip to content
Caltamont

Developers

Integrateat your own pace.

A REST API with JSON payloads, idempotent writes and signed webhooks. The snippets below show the shape of an integration; keys and the complete reference are in your dashboard once your account is open.

Quickstart

Apply for an account, complete the review and copy your test keys. Test mode accepts demo card numbers and moves no money. Switch to live keys when you are ready.

  1. 1.Apply for an account
  2. 2.Pass merchant review
  3. 3.Copy test keys
  4. 4.Create a payment
  5. 5.Handle its events
  6. 6.Go live

API reference

Resources share one pattern — create, retrieve, list, update. Authenticate with your secret key as a bearer token; send an idempotency key with every write.

curl https://api.caltamont.example/v1/payments \
  -u sk_test_••••••••: \
  -H "Idempotency-Key: 1187" \
  -d amount=6240 \
  -d currency=gbp \
  -d "customer[email]=buyer@example.com"
/v1/payments
Create, capture, cancel and refund
/v1/checkout/sessions
Open a hosted checkout for an order
/v1/links
Payment links for a fixed amount
/v1/customers
Records behind the built-in CRM
/v1/disputes
Read disputes, submit evidence
/v1/payouts
Payouts and their statements

Libraries and plugins

Plugins are available for Shopify, WooCommerce, PrestaShop and Magento. Any language that speaks HTTPS can call the API directly; client libraries are shared with merchants during onboarding.

Guides

  • Your first paymentFrom test key to captured payment.
  • Local currenciesHow the buyer’s currency is chosen and shown.
  • Fraud rulesAllow, review or require 3-D Secure.
  • Responding to a disputeWhat evidence helps and when to send it.
  • Reconciling payoutsMatching statements to your books.

Complete guides are available in your dashboard; ask us if you need one before applying.

Webhooks

Caltamont sends an HTTPS POST for each event. Check the signature header before trusting the body and reply with a 2xx within a few seconds; failed deliveries are retried.

payment.succeeded · payment.failed · payment.refunded · dispute.created · dispute.closed · payout.sent

app.post("/hooks/caltamont", rawBody, (req, res) => {
  const ok = verify(req.body, req.get("Caltamont-Signature"), process.env.CALTAMONT_HOOK_SECRET);
  if (!ok) return res.sendStatus(400);
  const event = JSON.parse(req.body);
  if (event.type === "payment.succeeded") markPaid(event.data.metadata.order);
  res.sendStatus(200);
});

Good practice

  • Keep secret keys server-side only.
  • Send an idempotency key with each write.
  • Rely on webhooks for final payment status.
  • Verify every signature.
  • Rehearse every change in test mode.

Need a hand?

Send us the request ID and what you expected to happen. A developer will reply.

Contact the team