json([ 'error' => false, 'data' => CustomerIdentity::payload(Customer::where('uuid', $uuid)->firstOrFail()), ]); } public function image(Customer $customer, string $side) { return CustomerIdentity::response($customer, $side); } }