Payment endpoint
This topic provides a quick reference for the method signatures of payment API methods.
Location: http://smile.example.com:port/stage/smile/ws/v2/payment
WSDL: http://smile.example.com:port/stage/smile/ws/v2/payment?wsdl
| Method | Method signature | Purpose |
|---|---|---|
| addStoredPaymentDetails() | |
Adds stored payment details to an account. |
| cancelScheduledPayment() | |
Cancels a payment. |
| computeSurcharge() |
|
Calculates the surcharge payable on a payment. |
| deleteStoredPaymentDetails() | |
Deletes the stored payment details on an account. |
| getAutoPaymentOption() | |
Returns the configured automatic payment option for an account. |
| getPayment() | |
Returns information about a payment for a specified payment number. |
| getPaymentTypes() |
|
Returns information about the payment methods appropriate for the current user. |
| getPendingPayments() | |
Returns a list of all pending payments for a particular account. |
| getStoredPaymentDetails() | |
Returns the stored payment details for an account and ID. |
| getStoredPaymentdetailsList() | |
Returns all stored payment details for an account. |
| processPayment() |
|
Processes a payment and queues the debits to be allocated to the payment, pending the payment's success. |
| recordFailedPayment() | |
Records failed payment to a Smile account. |
| reschedulePaymentWithNewDetails() | |
Reschedules a payment to a specified time with specified new payment details. |
| updateStoredPaymentDetails() |
|
Updates the stored payment details on an account. |
| validatePayment() |
|
Validates credit card details. |