Skip to main content
GET
Find a transaction by operation id

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Query Parameters

operationId
string
required

The operationId that was sent when the transaction was created.

Response

The transaction with this operationId, as a list of one. The list is empty when no transaction has it.

transactionId
integer<int64>
required

The id of the transaction. The capture, cancel and refund calls take it.

Example:

9154377

amount
number<double>
required

The amount the transaction was created with: positive for bonus added to the account, negative for bonus taken off it, as in a payment.

Example:

-25.5

state
enum<string>
required

Where a transaction stands.

  • Waiting: an amount is reserved and waits to be captured or cancelled.
  • Successful: the transaction is final. Its amount was captured, in full or in part with the rest cancelled.
  • Cancelled: the whole reservation was cancelled and nothing was captured.

This list is not final. Lobyco may add a value at any time, and a consumer must not fail on a value it does not know.

Available options:
Waiting,
Successful,
Cancelled
Example:

"Waiting"

type
string
required

The transaction's type: Payment, Refund, Expiry, Balance, or the name of a bonus or adjustment type configured for your environment.

Minimum string length: 1
Example:

"Payment"

operationId
string
required

The operationId the transaction was created with.

Minimum string length: 1
Example:

"8d2f6b1e-4c7a-4f3b-b6d9-2a5e7c9f1d34"

Last modified on August 10, 2026