- 'OVERPAYMENT'
- 'PAYMENT'
- 'WRITEOFF'
- 'PROCESSING_FOUND'
=cut
properties:
credit_type:
type: string
description: Type of credit ('CREDIT', 'FORGIVEN', 'LOST_FOUND', 'PAYMENT', 'WRITEOFF' )
description: Type of credit ('CREDIT', 'FORGIVEN', 'LOST_FOUND', 'PAYMENT', 'WRITEOFF', 'PROCESSING_FOUND' )
amount:
type: number
minimum: 0
[%- CASE 'OVERPAYMENT' -%]<span>Overpayment refund</span>
[%- CASE 'REFUND' -%]<span>Refund</span>
[%- CASE 'CANCELLATION' -%]<span>Cancelled charge</span>
[%- CASE 'PROCESSING_FOUND' -%]<span>Lost item processing fee refund</span>
[%- CASE -%]<span>[% credit_type.description | html %]</span>
[%- END -%]
-