In This Document
Was this document useful?
Have a suggestion for the Armor Knowledge Base? Send a message to email@example.com.
This API call applies to both Armor Complete and Armor Anywhere users.
The Delete Payment Methods API deletes the payment method for an account.
You can use the Get Payment Methods API to find the Payment Method ID (id) and the Account Billing ID (accountBillingId).
You cannot delete the primary payment method. To delete a primary payment method, you must configure another payment method to be the primary method, and then you can delete the desired payment method.
To learn how to change the primary payment method, see Patch Payment Method.
The following table describes the different parts of this API call:
|API Call / URL||Method / Type|
The following table describes the parameter (or parameters) for this API call:
|Parameter||Description||Format||Required or optional||Example|
|The ID of the payment method that you want to delete||Integer||Required||1|
|PaymentMethodId||The ID of the payment method that you want to delete||Integer||Required||1|
|modifiedBy||The user that is requesting the modification||String||Required||John|
|accountId||The accountId that the payment method is related (unused)||Integer||Required||1|