Manage payments
Managing payments lets you calculate and process different types of payment and update the payment status.
Validating payments lets you authenticate credit card details and ensure the card is valid. Contact Inomial to help you configure this API functionality and set up the credit card validation module.
The following methods manage payments:
- computeSurcharge() calculates the surcharge payable on a payment of a specified amount.
- processPayment() processes a payment and queues the debits to be allocated to the payment.
- validatePayment() validates credit card details.
- recordFailedPayment() records failed payment to a Smile account.
- reschedulePaymentWithNewDetails() reschedules a payment to a specified time with specified new payment details.
- cancelScheduledPayment() cancels a payment.