GitHub

TransactionKind

import { TransactionKind } from '@daffodil/driver/shopify'

The different kinds of order transactions.

enum TransactionKind {
  Authorization = TransactionKind.Authorization,
  Capture = TransactionKind.Capture,
  Change = TransactionKind.Change,
  EmvAuthorization = TransactionKind.EmvAuthorization,
  Sale = TransactionKind.Sale,
}

Properties

Authorization
TransactionKind.Authorization

An amount reserved against the cardholder's funding source. Money does not change hands until the authorization is captured.

Capture
TransactionKind.Capture

A transfer of the money that was reserved during the authorization stage.

Change
TransactionKind.Change

Money returned to the customer when they have paid too much.

EmvAuthorization
TransactionKind.EmvAuthorization

An authorization for a payment taken with an EMV credit card reader.

Sale
TransactionKind.Sale

An authorization and capture performed together in a single step.