}
);
$credit_type can be any of 'credit', 'payment', 'forgiven' or 'writeoff'
$credit_type can be any of:
- 'credit'
- 'payment'
- 'forgiven'
- 'lost_item_return'
- 'writeoff'
=cut
-