Operations

Get operation

Find operation by its ID.

get/operations/{id}

Response

Operation

idinteger

Transaction ID in the UDS database.

dateCreatedstring date-time

Transaction date.

action'PURCHASE' required

Transaction type.

state'NORMAL' | 'CANCELED' | 'REVERSAL'

Transaction lifecycle status:

  • NORMAL — active transaction, loyalty benefits applied
  • CANCELED — transaction was canceled, no loyalty impact
  • REVERSAL — transaction was refunded, loyalty benefits reversed (points returned, cashback deducted)
pointsnumber

The amount of points which changed customer balance as a result of the operation.

A negative value means write-off of bonus points and a positive value means point accrual.

certificatePointsnumber nullable

Number of deducted certificate points.

receiptNumberstring nullable

Receipt number.

Changes

No recorded changes to this endpoint across all 1 revision of this API.