5. What will Payment Application look like when I unapply a payment?
This will depend on the use case as well. Below are several examples to help describe how it will look:
1. Fully unapply payment from invoice:
a. generate invoice with $100 > INV-001, balance: $100
b. create a payment (PAY-001) with amount $100 and apply to the invoice INV-001 with $100 at the same time
c. ONE payment application would be generated:
PA-001, apply amount: $100, Source Payment: PAY-001, Target Invoice: INV-001
d. as a result, unapplied amount on payment is $0.
e. unapply the payment( PAY-001) with amount $100 from invoice INV-001
f. TWO payment applications would be generated:
PA-002, apply amount: -$100, Source Payment: PAY-001, Target Invoice: INV-001
PA-003, apply amount: $100, Source Payment: PAY-001, Target Invoice: n/a
d. as a result, unapplied amount on payment is $100 which is tracked by PA-003.
2. Partial unapply payment from invoice:
a. generate invoice with $100 > INV-001, balance: $100
b. create a payment(PAY-001) with amount $100 and apply to the invoice INV-001 with $100 at the same time
c. ONE payment application would be generated:
PA-001, apply amount: $100, Source Payment: PAY-001, Target Invoice: INV-001
d. as a result, unapplied amount on payment is $0
e. unapply the payment (PAY-001) with amount $80 from invoice INV-001
f. TWO payment applications would be generated:
PA-002, apply amount: -$80, Source Payment: PAY-001, Target Invoice: INV-001
PA-003, apply amount: $80, Source Payment: PAY-001, Target Invoice: n/a
d. as a result, unapplied amount on payment is $80 which is tracked by PA-003.
6. How to refund a payment?
When the Invoice Settlement feature is enabled, only the' unapplied amount' can be refunded.
For example:
a. If a payment of $100 is created but not applied to any invoice, then the unapplied amount is $100. As a result, the merchant can refund up to the entire amount of $100.
b. If a payment of $100 is created and $20 is applied to an invoice, then the 'unapplied amount' is $80. As a result, only $80 can be used for refund.
... View more