Skip to content

PAYMENT_VERIFICATION

Called when notification has been received from the payment processor that payment has been made

Submit this event using Firing an Event. Product configuration and enabled actions determine the workflow behavior. Use identifiers and snapshots from the same environment.

Request payload#

HTTPPOST
POST https://api.{ENV}.dais.com/ioi/v3/event/fire
cURL
curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/event/fire' \
--header 'Authorization: Basic <Base64-encoded API key and secret>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "lineId": "<UUID of the product ID>",
  "type": "PAYMENT_VERIFICATION",
  "payload": {
    "clientId": "<UUID of the client ID>",
    "paymentSessionId": "<UUID of the payment session ID>"
  }
}'
JSON
{
  "lineId": "<UUID of the product ID>",
  "type": "PAYMENT_VERIFICATION",
  "payload": {
    "clientId": "<UUID of the client ID>",
    "paymentSessionId": "<UUID of the payment session ID>"
  }
}

Request Fields#

See the shared event envelope. Set type to PAYMENT_VERIFICATION and provide the payload below.

Payload Fields#

PropertyRequiredDescription
clientIdYesClient identifier, used in activity logging.
paymentSessionIdYesSession identifier to verify with the Payments service.

Response#

This example illustrates the common trigger response structure. Action counts and metadata depend on the actions that run; action-specific result fields are described where applicable.

JSON
{
  "triggerRequestId": "<UUID of the trigger request ID>",
  "executedActionCount": 0,
  "expectedResponseCount": 0,
  "metadata": {}
}

The built-in action returns the updated payload under metadata.PAYMENT_VERIFICATION, including paymentVerified, amount, paymentIdentifier, and paymentProcessor. A verified result can represent a pending or reserved payment; it does not by itself establish final settlement.

Response Fields#

PropertyDescription
triggerRequestIdUUID identifying this trigger execution.
executedActionCountNumber of actions reported as executed.
expectedResponseCountNumber of expected action responses.
metadataAction-specific results; may be empty.

See Firing an Event for execution modes and response handling.