Skip to main content
POST

Card Display with OTP Guide

How the OTP verification flow works end-to-end
Ends a session created with Initiate Card Display with OTP before TtlMinutes runs out. From then on, the link and any codes stop working. See After the session ends for what the viewer sees. Ending a session that has already ended or expired changes nothing. The call returns the session status either way, so it is safe to repeat. If the session has a CallbackUrl, PCI Booking sends a callback with event set to ended. See Callbacks.
Ending the session does not clear a card that is already shown on the viewer’s screen. It stops any further views.

Error Responses

Parameters

Authentication

API key only. This endpoint does not accept access tokens or session tokens.
string
required
Your API key prefixed with APIKEY. Example: APIKEY your-api-key. The x-pcibooking-api-key header is also accepted. See the Authentication guide.

Path Parameters

string
required
The requestId returned by Initiate Card Display with OTP.

Response

The session status after the end, with the same fields as Get Card Display Session Status. status is Ended and endReason is Customer, unless the session had already expired or ended for another reason.