PaymentControlImport
Queue uploaded payment-control imports for processing
Queues submitted payment-control imports for processing; the status is delivered by SignalR or webhook.
Enterprise+ tier
POSThttps://lens-api.tic.io/payment-controls/imports/process
Each import still in Submitted status is queued. Imports already past Submitted are skipped.
The status on completion is delivered in one of two ways:
- SignalR (the Lens UI): supply
correlationId. The status is broadcast to the caller as theLensPaymentControlImportStatusevent. - Webhook (API integrations): supply
webhookUrl(HTTPS recommended) and optionallywebhookSecret. A signed JSON envelope (PaymentControlImportStatus_Requestshape) is POSTed to your URL on terminal status. VerifyX-TIC-Signature: HMAC-SHA256 of the body with your secret.
When both are supplied, webhookUrl wins and no SignalR broadcast is sent for that import.
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Bodyapplication/json
importGuidsstring[] | nullcorrelationIdstring | nullwebhookUrlstring | nullwebhookSecretstring | nullResponses
Processed/skipped counts and any per-import errors · application/json
processedCountintegerskippedCountintegererrorsstring[] | nullNo import GUIDs supplied, or invalid webhook configuration