Operation
idstring
The ID of the operation
Format:
uuidreferenceTransactionOperationIdstring
Nullable
The ID of another operation that this operation depends on.
For example, a REFUND must reference the CAPTURE it is refunding.
Other operation types may also reference a prior operation if required.
Format:
uuidamountinteger
The operation amount in minor units (e.g., 1095 = 10.95 DKK)
statestring
The state of the operation.
PROCESSING: The operation has been received and is being handled.SUCCESS: The operation completed successfully.FAILED: The operation could not be completed. SeeerrorCodefor rejection reason.
Value in:
- "PROCESSING"
- "SUCCESS"
- "FAILED"
transactionIdstring
The ID of the associated transaction
Example:
"LDG7M4WW44G"typestring
The type of operation.
AUTHORIZATION: Reserve funds on the payment method.CAPTURE: Transfer previously authorized funds.SALE: A combined operation that performs bothAUTHORIZATIONandCAPTUREin a single step.REFUND: Return funds to the customer.VOID: Releases previously authorized funds.PAYOUT: Transfer funds to a recipient.
SALE operations are only available for certain acquirers and will be used when available and instant capture is enabled.
Value in:
- "AUTHORIZATION"
- "SALE"
- "CAPTURE"
- "REFUND"
- "VOID"
- "PAYOUT"
errorCodestring
Nullable
When state is equal to FAILED, this will contain the explaining error code.
createdAtstring
The time of creation
Format:
date-timefinalizedAtstring
Nullable
The timestamp when the operation reached a terminal state.
An operation is terminal once it transitions from PROCESSING to either SUCCESS or FAILED.
Format:
date-time