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
  • refunded
  • partially-refunded
  • chargeback
  • error
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)
paymentarrayPayment mean as array
-brandThe brand is a lowercase string
metadataMetadataSee documentation
subscriptionSubscription objectSee documentation
invoiceInvoiceSee documentation
contactContactSee documentation

Example

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