Transaction

KeyTypeDescription
idintegerInternal transaction ID
uuidstring|integerPublic transaction ID
timedatetime (YYYY-MM-DD HH:MM:SS)Date and time of transaction creation
statusstring
waiting
confirmed
cancelled
declined
authorized
reserved
refunded
refund_pending (see changelog)
partially-refunded (see changelog)
chargeback (see changelog)
error (see changelog)
uncaptured (see changelog)
The status of the transaction, please see Notifications (Webhooks) for more information on the status.
langstringISO 639-1 of shopper language
pspstringName of the payment service provider used
pspIdintegerThe ID of the payment service provider (see Miscellaneous)
amount
(see changelog)
integerThe amount of the transaction in the smallest unit of the transaction currency (for refunds it is the amount of the refund transaction)
annanowpay_feeintegerThe transaction fee charged by Annanow (does not include fees from acquiring or interchange fees). The fee is provided in smallest unit of the currency.
preAuthorizationIdintegerThe ID of the origin pre-authorization transaction (see changelog)
paymentarrayPayment mean as array
-brand (lowercase string)
-cardNumber (truncated PAN) (see changelog)
-expiry (format: YY-MM) (see changelog)

The brand is a lowercase string
referenceIdstringThe reference which has been passed when creating a Gateway / Invoice.
OR: The referenceId which has been passed along with a charge on a pre-authorization.
metadataMetadata objectSee documentation
subscriptionSubscription objectSee documentation
invoiceInvoice objectSee documentation
contactContact objectSee documentation

Example

<?php
array(
  'id' => 1,
  'uuid' => '82m09f9',
  'time' => '2014-11-18 13:44:53',
  'status' => 'waiting',
  'lang' => 'en',
  'psp' => 'Test',
  'annanowpay_fee' => 0,
  'payment' => array(
    'brand' => 'VISA'
  ),
  'metadata' => Metadata,
  'subscription' => Subscription,
  'invoice' => Invoice,
  'contact' => Contact,
);