Amazon Interview Question

Design a payment processor, that may allow for a retry if it fails.