deleteStoredPaymentDetails()

void deleteStoredPaymentDetails(string usn, string storedPaymentDetailsId)

This method deletes the stored payment details specified on a given account.

Parameters

usn
Format: string
Purpose: Specifies the USN of the account to update.
storedPaymentDetailsId
Format: string
Purpose: Specifies the ID of stored payment details to delete.

Results

This method does not return any output for a successful deletion. An exception will be generated if the deletion attempt fails.

There are no messages defined by this method.

Faults

NoSuchItemException

This fault is returned when there is no account with the USN specified, or no payment details with the storedPaymentDetailsId exists.

InvalidRequestException

This fault is returned when the USN and stored payment details ID do not correspond.

Java client syntax

java -cp build/smilewsv2-client.jar [options] com.inomial.smile.client.v2.examples.DeleteStoredPaymentDetailsList usn storedPaymentDetailsId
usn
Purpose: Specifies the USN of the account to update.
storedPaymentDetailsId
Purpose: Specifies the ID of the stored payment details to delete.
Note: For more information about the Java client and the options it accepts, see Java client syntax.