Add type column to transactions table
Add PaymentTransaction and RefundTransaction types
Add factories for RefundTransaction and PaymentTransaction types
Add specs for RefundTransaction and PaymentTransaction
Fix Order and Purchase models
Fix remaining specs
Fix transaction serializer
Update backend client
Add pending balance to payment method payload
Make TransactionSerializer a class, not a module