Can we deactive or reactive customers using Api in php?

can we deactive or reactive customers using Api in php?
I don’t want to do manually.

Hi @Megha_Kmphasis, Thanks for posting! You should be able to deactivate and reactivate a Customer via the API with a POST to /customers/{id}. Information can be found in our docs here. e.g.

<?php
$customersApi = new DwollaSwagger\CustomersApi($apiClient);

$customerUrl = 'https://api.dwolla.com/customers/53863b11-1758-47c8-821f-00e6a126f97f';
$customer = $customersApi->updateCustomer([
  'status' => 'deactivated'
], $customerUrl);

$customer->status; # => "deactivated"
?>