HomeGuidesRecipesAPI ReferenceChangelog
GuidesAPI ReferenceCustomer Help CenterLog In
Changelog

v2018-01-02: Transaction Gross and Net

This release renames certain fields in the transaction object to be in line with standard accounting practices.

  • amount is renamed to gross (total value of the transaction)
  • earning is renamed to net (value of the transaction after processing/partner fees)

The following endpoints are affected by this change:

  • GET /api/transactions
  • GET /api/transactions/{id}
{
  "items": {
    "gross": 19.99,
    "net" : 19.11
    ...
  }
  ...
}
{
  "items": {
    "amount": 19.99,
    "earning" : 19.11
    ...
  }
  ...
}