Operation
The ID of the operation
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.
The operation amount in minor units (e.g., 1095 = 10.95 DKK)
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.
Possible values: [PROCESSING, SUCCESS, FAILED]
The ID of the associated transaction
LDG7M4WW44GThe 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.
Possible values: [AUTHORIZATION, SALE, CAPTURE, REFUND, VOID, PAYOUT]
When state is equal to FAILED, this will contain the explaining error code.
The time of creation
The timestamp when the operation reached a terminal state.
An operation is terminal once it transitions from PROCESSING to either SUCCESS or FAILED.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"referenceTransactionOperationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"amount": 0,
"state": "PROCESSING",
"transactionId": "LDG7M4WW44G",
"type": "AUTHORIZATION",
"errorCode": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"finalizedAt": "2024-07-29T15:51:28.071Z"
}