Complete transaction
Completes transaction
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program Id
tid
Transaction Id
Response
Transaction information
id
Unique identifier (UUID) of the transaction.
amount
The transaction amount.
transactionType
The type of the transaction.
Allowed values:
meta
Optional metadata associated with the transaction.
status
The current status of the transaction.
Allowed values:
loyaltyProgramId
Unique identifier (UUID) of the associated loyalty program.
balanceDefinitionId
Unique identifier (UUID) of the associated balance definition.
contactId
Unique identifier of the contact associated with the transaction.
eventTime
Optional timestamp indicating when the transaction event occurred (ISO 8601 format).
rejectReason
Reason for rejection if the transaction was declined (nullable).
rejectedAt
Timestamp when the transaction was rejected (nullable).
expirationDate
Expiry date of the transaction (nullable).
completedAt
Timestamp when the transaction was completed (nullable).
cancelledAt
Timestamp when the transaction was canceled (nullable).
createdAt
Timestamp when the transaction was created.
updatedAt
Timestamp when the transaction was last updated.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error