Prerequisites
Before integrating with the Terminal API, make sure you have:- Terminals enabled for your Authsignal tenant. Contact support@authsignal.com if terminals are not yet enabled on your tenant.
- A terminal action: The action type that defines what your readers request during in-person verification.
- A location: Create a location in the Terminals section of the Authsignal Portal, assign your terminal action to it, and copy the
terminalLocationIdfrom its settings.
The examples on this page use the US base URL,
https://api.authsignal.com/v1. If your tenant is
in another region, use your regional base
URL instead.Step 1: Register readers
Register each reader into a location before sending it verifications. You can register readers either directly in the Authsignal Portal or programmatically from your POS backend.- Authsignal Portal
- Programmatic (POS backend)
1
Start setup on the reader
Start registration on the reader device. It displays an 8-character one-time code (such as
K7QF-3M9X) and a QR code linking to the Authsignal Portal. The code expires after 10
minutes.2
Claim the reader in the Portal
Scan the QR code or open the Terminals section,
select your location, enter the code, and give the reader a label (such as
Bar 2).3
Confirm on the reader
The reader shows your tenant name and the assigned label. Staff have 10 minutes to tap
Confirm on the reader. Once confirmed, the reader receives its credentials and is ready
for verifications.
Step 2: Authenticate your POS or kiosk
Choose the controller-driven pathway if POS devices (such as iPad devices or kiosks) call Authsignal directly, or the server-driven pathway if calls originate from your backend server.- Controller-driven (POS device / kiosk)
- Server-driven (POS backend)
A controller pairs directly to one location using a device-generated EC P-256 key pair and
exchanges signed assertions for short-lived bearer tokens (
actl_...). No tenant secret key is
ever stored on the POS device.1
Create a controller in the Portal
Open your location in the Terminals section and
add a new controller (for example,
Front Bar iPad). The Portal displays a single-use
10-character claim code (such as ABCD-EFGH-JK) valid for 24 hours.2
Generate a key pair and claim the controller
On the POS device, generate an EC P-256 key pair (preferring hardware-backed storage such as
iOS Secure Enclave or Android Keystore) and call
Claim a controller
(Store the returned
POST /v1/terminal/controllers/claim):controllerId, location, and tenantName alongside your private key.3
Mint a short-lived access token
Sign a compact ES256 JWS using the controller’s private key with the following claims:The response returns an
aud:"authsignal:terminal:controller:token"sub: yourcontrollerIdiat: current Unix timestamp in secondsexp:iat + 60(must be at most 60 seconds afteriat)jti: a unique single-use identifier (for example, a UUID, max 128 characters)
POST /v1/terminal/controllers/{controllerId}/token):accessToken (actl_<controllerId>.<token>) valid for 15
minutes (expiresIn: 900). Refresh it before expiry. During rotation, the previous
access token remains valid until its original expiry so in-flight requests do not fail.4
Discover readers in your location
Call Get controller
(
GET /v1/terminal/controller) with Authorization: Bearer YOUR_ACCESS_TOKEN to retrieve
the registered readers (terminals) available in your paired location and let staff select
which reader to target.Step 3: Run and poll a verification
Both controller-driven (Authorization: Bearer actl_...) and server-driven (Authorization: Basic ...) callers use the same three endpoints to run in-person verifications.
1
Start the verification
Call Create an in-person
verification
(
POST /v1/terminal/proximity-verifications) with the reader’s terminalId and a unique
reference for the current sale (for example, sale-1042).The endpoint returns 202 Accepted with a verificationId and status PENDING. Authsignal
wakes the reader, and the customer taps their phone over NFC or presents a QR code.2
Poll for the result
Poll Get an in-person verification
(
GET /v1/terminal/proximity-verifications/{verificationId}) every 1 to 2 seconds until
status reaches a final state:PENDING: Waiting for the reader to pick up the verification.IN_PROGRESS: The reader is prompting the customer to present their wallet.VERIFYING: Authsignal is checking the cryptographic signature, issuer trust, and revocation status.COMPLETED,FAILED,CANCELLED, orEXPIRED: Final states. Stop polling.
3
Validate the verdict and claims
When
status is COMPLETED, verify all of the following before unlocking checkout or
approving the interaction:result.stateisRESPONSE_RECEIVEDresult.actionStateisCHALLENGE_SUCCEEDED- Each presented credential in
result.credentialshasclaimsVerified: true,deviceAuthVerified: true, andissuer.trusted: true, andrevocationStatusis notREVOKED - The disclosed claim values in
result.claimssatisfy your business rule (for example,result.claims.age_over_18 === true)
portrait, it is returned as a base64 data URL so staff can visually
confirm the holder matches the credential. Results stay available until resultExpiresAt.Step 4: Handle busy readers, retries, and cancellation
A reader processes one verification at a time. Design your POS checkout flow around these rules:
While an active verification has not finished, sending
POST /v1/terminal/proximity-verifications again from the same caller with the same reference acts as a retry and returns the existing verification.
Retry best practices
- Always pass a per-sale
reference. If a network timeout happens when starting a verification, retryPOST /v1/terminal/proximity-verificationswith the sameterminalIdandreference. - For server-driven callers, omitting
reference(or sending an empty string) never retries: every request is treated as a different sale to prevent collisions across registers. - Cancel abandoned sales. If a cashier cancels a transaction before verification finishes, call Cancel an in-person verification to return the reader to idle. A cancelled verification never returns a
result.
Revoking access
- To disconnect a lost, decommissioned, or compromised POS device, delete its controller on the location’s page in the Terminals section. Its
actl_access tokens stop working immediately. - To replace a reader, delete it from its location in the Portal and register the replacement reader.
Next steps
- Terminal API reference: Full schemas, error codes, and regional base URLs.
- Locations: Organize readers and controllers across sites and branches.

