Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 5.0!

transaction object

Properties of the transaction object

{
  "id": "guid",
  "customerid": "guid",
  "invoiceid": "guid",
  /* unknown=0, decline=8,failure=16, success=1 */
  "statecode": "integer",
  /* inactive=7, active=1, draft=0, manual=32, deleted=1024 */
  "status": "integer",
  /* void=2, verification=4, payment=8, refund=16, decline=32, chargeback=64 */
  "type": "integer",
  "totalamount": "float",
  "currencycode": "string",
  "paymentmethodid": "guid",
  "paymentproviderid": "guid",
  "customer": "customer",
  "paymentmethod": "paymentmethod",
  "paymentprovider": "paymentprovider",
  "invoice": "invoice",
  /* none=0,generic=101010, cardexpired=30000, invalidcardnumber=40100, invalidcardexpiry=40200, invalidcardcvc=40300, carddecline=101011, carddeclinefraud=101020, cardholder=101021 */
  "errorcode": "integer",
  "gatewayreference": "string",
  "gatewayresponse": "string",
  "gatewayerrorcode": "string",
  "createdby": "guid",
  "modifiedby": "guid",
  "createdbyuser": "userprofile",
  "modifiedbyuser": "userprofile",
  "createddate": "datetime",
  "modifieddate": "datetime"
}