status
of the SPM changes to payment_failed
and the SPM will not allow more payments until the SPM is reactivated.
The ability to reactivate a SPM is based on the reason for the decline. For example, if the decline message is Insufficient Funds, the SPM can be reactivated using the reactivateStoredPaymentMethod
mutation. You can determine if a SPM can be reativated with the canReactivate
property. You can also grab information about the decline to display to the firm with the declineInfo
property. This can help the firm identify possible fixes before attempting to charge the SPM again.
One example of an SPM failing without being able to reactivate would be if the declineInfo.declineMessage
was Invalid account number. This could occur if the client mistyped their account number when saving their ACH information. In this state, it may make sense to deactivate the SPM using the decativateStoredPaymentMethod
mutation.