lib/promisepay/models/card_account.rb
# Deletes a card account for a user on a marketplace.
# Sets the account to in-active.
#
# @see https://reference.promisepay.com/#redact-card-account
#
# @return [Boolean]
Deletes a card account for a user on a marketplace.
Sets the account to in-active.
Deletes a card account for a user on a marketplace . Sets the account to in - active .
def deactivate
      @client.delete("card_accounts/#{id}")
      @attributes['active'] = false
      true
    end
def deactivate @client . delete ( "card_accounts/#{id}" ) @attributes [ 'active' ] = false true end
Deletes a card account for a user on a marketplace.
Deletes a card account for a user on a marketplace .
None
Boolean
see
None