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