RevKeen Docs

Terminal API Overview

Build card-present terminal flows on top of the RevKeen API

The Terminal API lets you initiate card-present payments, discover devices, and process terminal operations through the same RevKeen platform used for online billing.

Use this page for the terminal integration model. Use API Reference for endpoint details, schemas, and request examples.

What the terminal surface covers

  • Device discovery Find the correct device_id before initiating a payment.
  • Payment lifecycle Initiate sale, refund, and void flows and track the resulting terminal state.
  • Async results Use webhooks for approved, declined, cancelled, timed-out, and error outcomes.
  • Operational safety Handle per-device concurrency, stale heartbeats, retries, and idempotency carefully.

Core flow

  1. List terminal devices and choose an online, paired device.
  2. Create a terminal payment against that device_id.
  3. Wait for the result through webhooks or by polling the payment resource.
  4. Reconcile the card-present result with the rest of your billing workflow.

Environment model

Use the same public API environments as the rest of RevKeen:

EnvironmentBase URLUse when
Staginghttps://staging-api.revkeen.com/v2Integration development, QA, device workflow validation
Productionhttps://api.revkeen.com/v2Live terminal traffic
Mockhttps://mock-api.revkeen.com/v2Response-shape validation only

Operating principles

  • Always check device status before creating a payment.
  • Use Idempotency-Key on terminal write operations.
  • Expect results asynchronously and prefer webhook-driven state updates.
  • Treat device_busy, offline devices, and timed-out flows as normal operating cases.

Next Steps

On this page